#Importation du fichier "delta.csv"
data<-read.csv(file.choose(),header = T,sep = ",",dec = ".",na.strings = "")
head(data)
## Aircraft Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 1 Airbus A319 0.0 0 0
## 2 Airbus A319 VIP 19.4 44 12
## 3 Airbus A320 0.0 0 0
## 4 Airbus A320 32-R 0.0 0 0
## 5 Airbus A330-200 0.0 0 0
## 6 Airbus A330-200 (3L2) 0.0 0 0
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 1 21.0 36 12
## 2 19.4 40 28
## 3 21.0 36 12
## 4 21.0 36 12
## 5 0.0 0 0
## 6 0.0 0 0
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 1 0 0 0
## 2 21 59 14
## 3 0 0 0
## 4 0 0 0
## 5 21 60 32
## 6 21 80 34
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 1 17.2 34 18
## 2 0.0 0 0
## 3 17.2 34 18
## 4 17.2 34 18
## 5 18.0 35 30
## 6 18.0 35 32
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 1 17.2 30.5 96 126
## 2 0.0 0.0 0 54
## 3 17.2 31.5 120 150
## 4 17.2 31.5 120 150
## 5 18.0 30.5 181 243
## 6 18.0 30.5 168 243
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 1 517 2399 2 111.83
## 2 517 3119 2 111.83
## 3 517 2420 2 111.83
## 4 517 2420 2 111.83
## 5 531 6536 2 197.83
## 6 531 6536 2 197.83
## Tail.Height..ft. Length..ft. Wifi Video Power Satellite Flat.bed Sleeper
## 1 38.583 111.00 1 0 0 0 0 0
## 2 38.583 111.00 1 1 0 0 0 0
## 3 38.583 123.25 1 0 0 0 0 0
## 4 38.583 123.25 1 0 0 0 0 0
## 5 59.830 188.67 0 1 1 0 1 0
## 6 59.830 188.67 0 1 1 0 0 1
## Club First.Class Business Eco.Comfort Economy
## 1 0 1 0 1 1
## 2 1 1 1 0 0
## 3 0 1 0 1 1
## 4 0 1 0 1 1
## 5 0 0 1 1 1
## 6 0 0 1 1 1
Division des données par classe :
FirstClass<-data[which(data$First.Class==1),]
head(FirstClass)
## Aircraft Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 1 Airbus A319 0.0 0 0
## 2 Airbus A319 VIP 19.4 44 12
## 3 Airbus A320 0.0 0 0
## 4 Airbus A320 32-R 0.0 0 0
## 9 Boeing 717 0.0 0 0
## 10 Boeing 737-700 (73W) 0.0 0 0
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 1 21.0 36 12
## 2 19.4 40 28
## 3 21.0 36 12
## 4 21.0 36 12
## 9 19.6 37 12
## 10 21.0 37 12
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 1 0 0 0
## 2 21 59 14
## 3 0 0 0
## 4 0 0 0
## 9 0 0 0
## 10 0 0 0
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 1 17.2 34 18
## 2 0.0 0 0
## 3 17.2 34 18
## 4 17.2 34 18
## 9 18.1 34 15
## 10 17.2 34 18
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 1 17.2 30.5 96 126
## 2 0.0 0.0 0 54
## 3 17.2 31.5 120 150
## 4 17.2 31.5 120 150
## 9 18.1 31.0 83 110
## 10 17.2 30.5 94 124
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 1 517 2399 2 111.830
## 2 517 3119 2 111.830
## 3 517 2420 2 111.830
## 4 517 2420 2 111.830
## 9 504 1510 2 93.330
## 10 517 2925 2 117.416
## Tail.Height..ft. Length..ft. Wifi Video Power Satellite Flat.bed
## 1 38.583 111.00 1 0 0 0 0
## 2 38.583 111.00 1 1 0 0 0
## 3 38.583 123.25 1 0 0 0 0
## 4 38.583 123.25 1 0 0 0 0
## 9 29.083 120.00 1 0 1 0 0
## 10 41.167 110.33 1 1 1 1 0
## Sleeper Club First.Class Business Eco.Comfort Economy
## 1 0 0 1 0 1 1
## 2 0 1 1 1 0 0
## 3 0 0 1 0 1 1
## 4 0 0 1 0 1 1
## 9 0 0 1 0 1 1
## 10 0 0 1 0 1 1
Economy<-data[which(data$Economy==1),]
head(Economy)
## Aircraft Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 1 Airbus A319 0 0 0
## 3 Airbus A320 0 0 0
## 4 Airbus A320 32-R 0 0 0
## 5 Airbus A330-200 0 0 0
## 6 Airbus A330-200 (3L2) 0 0 0
## 7 Airbus A330-200 (3L3) 0 0 0
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 1 21 36 12
## 3 21 36 12
## 4 21 36 12
## 5 0 0 0
## 6 0 0 0
## 7 0 0 0
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 1 0 0 0
## 3 0 0 0
## 4 0 0 0
## 5 21 60 32
## 6 21 80 34
## 7 21 80 34
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 1 17.2 34 18
## 3 17.2 34 18
## 4 17.2 34 18
## 5 18.0 35 30
## 6 18.0 35 32
## 7 18.0 35 32
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 1 17.2 30.5 96 126
## 3 17.2 31.5 120 150
## 4 17.2 31.5 120 150
## 5 18.0 30.5 181 243
## 6 18.0 30.5 168 243
## 7 18.0 30.5 227 293
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 1 517 2399 2 111.83
## 3 517 2420 2 111.83
## 4 517 2420 2 111.83
## 5 531 6536 2 197.83
## 6 531 6536 2 197.83
## 7 531 5343 2 197.83
## Tail.Height..ft. Length..ft. Wifi Video Power Satellite Flat.bed Sleeper
## 1 38.583 111.00 1 0 0 0 0 0
## 3 38.583 123.25 1 0 0 0 0 0
## 4 38.583 123.25 1 0 0 0 0 0
## 5 59.830 188.67 0 1 1 0 1 0
## 6 59.830 188.67 0 1 1 0 0 1
## 7 56.330 208.83 0 1 1 0 1 0
## Club First.Class Business Eco.Comfort Economy
## 1 0 1 0 1 1
## 3 0 1 0 1 1
## 4 0 1 0 1 1
## 5 0 0 1 1 1
## 6 0 0 1 1 1
## 7 0 0 1 1 1
EcoCom<-data[which(data$Eco.Comfort==1),]
head(EcoCom)
## Aircraft Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 1 Airbus A319 0 0 0
## 3 Airbus A320 0 0 0
## 4 Airbus A320 32-R 0 0 0
## 5 Airbus A330-200 0 0 0
## 6 Airbus A330-200 (3L2) 0 0 0
## 7 Airbus A330-200 (3L3) 0 0 0
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 1 21 36 12
## 3 21 36 12
## 4 21 36 12
## 5 0 0 0
## 6 0 0 0
## 7 0 0 0
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 1 0 0 0
## 3 0 0 0
## 4 0 0 0
## 5 21 60 32
## 6 21 80 34
## 7 21 80 34
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 1 17.2 34 18
## 3 17.2 34 18
## 4 17.2 34 18
## 5 18.0 35 30
## 6 18.0 35 32
## 7 18.0 35 32
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 1 17.2 30.5 96 126
## 3 17.2 31.5 120 150
## 4 17.2 31.5 120 150
## 5 18.0 30.5 181 243
## 6 18.0 30.5 168 243
## 7 18.0 30.5 227 293
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 1 517 2399 2 111.83
## 3 517 2420 2 111.83
## 4 517 2420 2 111.83
## 5 531 6536 2 197.83
## 6 531 6536 2 197.83
## 7 531 5343 2 197.83
## Tail.Height..ft. Length..ft. Wifi Video Power Satellite Flat.bed Sleeper
## 1 38.583 111.00 1 0 0 0 0 0
## 3 38.583 123.25 1 0 0 0 0 0
## 4 38.583 123.25 1 0 0 0 0 0
## 5 59.830 188.67 0 1 1 0 1 0
## 6 59.830 188.67 0 1 1 0 0 1
## 7 56.330 208.83 0 1 1 0 1 0
## Club First.Class Business Eco.Comfort Economy
## 1 0 1 0 1 1
## 3 0 1 0 1 1
## 4 0 1 0 1 1
## 5 0 0 1 1 1
## 6 0 0 1 1 1
## 7 0 0 1 1 1
Business<-data[which(data$Business==1),]
head(Business)
## Aircraft Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 2 Airbus A319 VIP 19.4 44 12
## 5 Airbus A330-200 0.0 0 0
## 6 Airbus A330-200 (3L2) 0.0 0 0
## 7 Airbus A330-200 (3L3) 0.0 0 0
## 8 Airbus A330-300 0.0 0 0
## 14 Boeing 747-400 (74S) 0.0 0 0
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 2 19.4 40 28
## 5 0.0 0 0
## 6 0.0 0 0
## 7 0.0 0 0
## 8 0.0 0 0
## 14 0.0 0 0
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 2 21.0 59 14
## 5 21.0 60 32
## 6 21.0 80 34
## 7 21.0 80 34
## 8 20.0 60 34
## 14 20.5 82 48
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 2 0.0 0 0
## 5 18.0 35 30
## 6 18.0 35 32
## 7 18.0 35 32
## 8 18.0 35 32
## 14 17.2 35 42
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 2 0.0 0.0 0 54
## 5 18.0 30.5 181 243
## 6 18.0 30.5 168 243
## 7 18.0 30.5 227 293
## 8 18.0 30.5 232 298
## 14 17.2 30.5 286 376
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 2 517 3119 2 111.83
## 5 531 6536 2 197.83
## 6 531 6536 2 197.83
## 7 531 5343 2 197.83
## 8 531 5343 2 197.83
## 14 564 7365 4 213.00
## Tail.Height..ft. Length..ft. Wifi Video Power Satellite Flat.bed
## 2 38.5830 111.00 1 1 0 0 0
## 5 59.8300 188.67 0 1 1 0 1
## 6 59.8300 188.67 0 1 1 0 0
## 7 56.3300 208.83 0 1 1 0 1
## 8 56.3300 208.83 0 1 1 0 0
## 14 62.5416 231.83 0 1 1 0 1
## Sleeper Club First.Class Business Eco.Comfort Economy
## 2 0 1 1 1 0 0
## 5 0 0 0 1 1 1
## 6 1 0 0 1 1 1
## 7 0 0 0 1 1 1
## 8 1 0 0 1 1 1
## 14 0 0 0 1 1 1
pie(data$Seats..First.Class.,labels = data$Aircraft,radius = 1,main = "number of first class seats in all the airplanes")
pie(data$Seats..Business.,labels = data$Aircraft,radius = 1,main="number of business seats in all the airplanes")
pie(data$Seats..Economy.,labels = data$Aircraft,radius = 1,main="number of Economy seats in all the airplanes")
pie(data$Seats..Eco.Comfort.,labels = data$Aircraft,radius = 1,main="number of Eco Comfort seats in all the airplanes")
plot(FirstClass$Aircraft,FirstClass$Power)
plot(FirstClass$Aircraft,FirstClass$Wifi)
wifiFirstClass<-sum(FirstClass$Wifi)/length(FirstClass$Wifi)
powerFirstClass<-sum(FirstClass$Power)/length(FirstClass$Power)
videoFirstClass<-sum(FirstClass$Video)/length(FirstClass$Video)
satelliteFirstClass<-sum(FirstClass$Satellite)/length(FirstClass$Satellite)
FlatBedFirstClass<-sum(FirstClass$Flat.bed)/length(FirstClass$Flat.bed)
SleeperFirstClass<-sum(FirstClass$Sleeper)/length(FirstClass$Sleeper)
ClubFirstClass<-sum(FirstClass$Club)/length(FirstClass$Club)
ratioFirstClass<-(wifiFirstClass+powerFirstClass+videoFirstClass+satelliteFirstClass+FlatBedFirstClass+SleeperFirstClass+ClubFirstClass)/7
cat("Le ratio de la FirstClass est : ",ratioFirstClass)
## Le ratio de la FirstClass est : 0.2916667
wifiBusiness<-sum(Business$Wifi)/length(Business$Wifi)
powerBusiness<-sum(Business$Power)/length(Business$Power)
videoBusiness<-sum(Business$Video)/length(Business$Video)
satelliteBusiness<-sum(Business$Satellite)/length(Business$Satellite)
FlatBedBusniss<-sum(Business$Flat.bed)/length(Business$Flat.bed)
SleeperBusniss<-sum(Business$Sleeper)/length(Business$Sleeper)
ClubBusiness<-sum(Business$Club)/length(Business$Club)
ratioBusiness<-(wifiBusiness+powerBusiness+videoBusiness+satelliteBusiness+FlatBedBusniss+SleeperBusniss+ClubBusiness)/7
cat("Le ratio de la Business Class est : ",ratioFirstClass)
## Le ratio de la Business Class est : 0.2916667
wifiEco<-sum(Economy$Wifi)/length(Economy$Wifi)
powerEco<-sum(Economy$Power)/length(Economy$Power)
videoEco<-sum(Economy$Video)/length(Economy$Video)
satelliteEco<-sum(Economy$Satellite)/length(Economy$Satellite)
FlatBedEco<-sum(Economy$Flat.bed)/length(Economy$Flat.bed)
SleeperEco<-sum(Economy$Sleeper)/length(Economy$Sleeper)
ClubEco<-sum(Economy$Club)/length(Economy$Club)
ratioEconomy<-(wifiEco+powerEco+videoEco+satelliteEco+FlatBedEco+SleeperEco+ClubEco)/7
cat("Le ratio de l'economy Class est : ",ratioFirstClass)
## Le ratio de l'economy Class est : 0.2916667
wifiEcoCom<-sum(EcoCom$Wifi)/length(EcoCom$Wifi)
powerEcoCom<-sum(EcoCom$Power)/length(EcoCom$Power)
videoEcoCom<-sum(EcoCom$Video)/length(EcoCom$Video)
satelliteEcoCom<-sum(EcoCom$Satellite)/length(EcoCom$Satellite)
FlatBedEcoCom<-sum(EcoCom$Flat.bed)/length(EcoCom$Flat.bed)
SleeperEcoCom<-sum(EcoCom$Sleeper)/length(EcoCom$Sleeper)
ClubEcoCom<-sum(EcoCom$Club)/length(EcoCom$Club)
ratioEcoCom<-(wifiEcoCom+powerEcoCom+videoEcoCom+satelliteEcoCom+FlatBedEcoCom+SleeperEcoCom+ClubEcoCom)/7
cat("Le ratio de l'EcoComfort Class est : ",ratioFirstClass)
## Le ratio de l'EcoComfort Class est : 0.2916667
library(plotly)
RatioDf<-data.frame(group=c("FirstClassRatio","BusinessRatio","EconomyRatio","EconomyComRatio"),value=c(ratioFirstClass,ratioBusiness,ratioEconomy,ratioEcoCom))
RatioDf
## group value
## 1 FirstClassRatio 0.2916667
## 2 BusinessRatio 0.4453782
## 3 EconomyRatio 0.3189369
## 4 EconomyComRatio 0.3516484
p<-ggplot(RatioDf,aes(x=group,y=value,fill=group))+geom_bar(width = 1,stat = "identity")
p
pie<-p+coord_polar("x",start=0)
pie
## Conclusion Les accomodations sont disponibles dans les classes selon cet ordre décroissant (Business Class –> EcoComfort Class –> Economy Class –> First Class) On peut dire qu’il est plus intéressant de consacrer plus d’espace à la classe EcoComfort qu’à la First Class
dfs<-data.frame(group=c('seatWidth eco','seatPitch eco'),value=c(Economy$Seat.Width..Economy.,Economy$Seat.Pitch..Economy.))
p<-ggplot(dfs,aes(x=group,y=value,fill=group))+ geom_boxplot()
p
dfss<-data.frame(group=c('seatWidth ecoCom','seatPitch ecoCom'),value=c(EcoCom$Seat.Width..Eco.Comfort.,EcoCom$Seat.Pitch..Eco.Comfort.))
p<-ggplot(dfss,aes(x=group,y=value,fill=group))+ geom_boxplot()
p
on peut voir que le seatPitch de la classe EcoComfort est plus grand que celui de la classe Economy avec un seatWidth similaire.
dfs1<-data.frame(group=c('seatWidth business','seatPitch business'),value=c(Business$Seat.Width..Business.,Business$Seat.Pitch..Business.))
p<-ggplot(dfs1,aes(x=group,y=value,fill=group))+
geom_boxplot()
p
dfs2<-data.frame(group=c('seatWidth firstClass','seatPitch firstClass'),value=c(FirstClass$Seat.Width..First.Class.,FirstClass$Seat.Pitch..First.Class.))
p<-ggplot(dfs2,aes(x=group,y=value,fill=group))+
geom_boxplot()
p
On peut remarquer l’écart très important entre le SeatPitch des deux classes Business et FirstClass en effet celui de la classe Business dépasse largement celui de la FirstClass. Par contre les deux classes ont un SeatWidth simialire.
delta<-data
delta
## Aircraft Seat.Width..Club. Seat.Pitch..Club.
## 1 Airbus A319 0.0 0
## 2 Airbus A319 VIP 19.4 44
## 3 Airbus A320 0.0 0
## 4 Airbus A320 32-R 0.0 0
## 5 Airbus A330-200 0.0 0
## 6 Airbus A330-200 (3L2) 0.0 0
## 7 Airbus A330-200 (3L3) 0.0 0
## 8 Airbus A330-300 0.0 0
## 9 Boeing 717 0.0 0
## 10 Boeing 737-700 (73W) 0.0 0
## 11 Boeing 737-800 (738) 0.0 0
## 12 Boeing 737-800 (73H) 0.0 0
## 13 Boeing 737-900ER (739) 0.0 0
## 14 Boeing 747-400 (74S) 0.0 0
## 15 Boeing 757-200 (75A) 0.0 0
## 16 Boeing 757-200 (75E) 0.0 0
## 17 Boeing 757-200 (75M) 0.0 0
## 18 Boeing 757-200 (75N) 0.0 0
## 19 Boeing 757-200 (757) 0.0 0
## 20 Boeing 757-200 (75V) 0.0 0
## 21 Boeing 757-200 (75X) 0.0 0
## 22 Boeing 757-300 0.0 0
## 23 Boeing 767-300 (76G) 0.0 0
## 24 Boeing 767-300 (76L) 0.0 0
## 25 Boeing 767-300 (76P) 0.0 0
## 26 Boeing 767-300 (76Q) 0.0 0
## 27 Boeing 767-300 (76T) 0.0 0
## 28 Boeing 767-300 (76U) 0.0 0
## 29 Boeing 767-300 (76Z V.1) 0.0 0
## 30 Boeing 767-300 (76Z V.2) 0.0 0
## 31 Boeing 767-400 (76D) 0.0 0
## 32 Boeing 777-200ER 0.0 0
## 33 Boeing 777-200LR 0.0 0
## 34 CRJ 100/200 Pinnacle/SkyWest 0.0 0
## 35 CRJ 100/200 ExpressJet 0.0 0
## 36 CRJ 700 0.0 0
## 37 CRJ 900 0.0 0
## 38 E120 0.0 0
## 39 E170 0.0 0
## 40 E175 0.0 0
## 41 ERJ-145 0.0 0
## 42 MD-88 0.0 0
## 43 MD-90 0.0 0
## 44 MD-DC9-50 0.0 0
## Seat..Club. Seat.Width..First.Class. Seat.Pitch..First.Class.
## 1 0 21.0 36.0
## 2 12 19.4 40.0
## 3 0 21.0 36.0
## 4 0 21.0 36.0
## 5 0 0.0 0.0
## 6 0 0.0 0.0
## 7 0 0.0 0.0
## 8 0 0.0 0.0
## 9 0 19.6 37.0
## 10 0 21.0 37.0
## 11 0 21.0 37.0
## 12 0 21.0 38.0
## 13 0 21.0 37.0
## 14 0 0.0 0.0
## 15 0 21.0 40.0
## 16 0 0.0 0.0
## 17 0 21.0 37.0
## 18 0 21.0 37.0
## 19 0 21.0 37.5
## 20 0 21.0 45.0
## 21 0 0.0 0.0
## 22 0 21.0 37.0
## 23 0 0.0 0.0
## 24 0 0.0 0.0
## 25 0 18.5 37.5
## 26 0 18.5 37.5
## 27 0 0.0 0.0
## 28 0 18.5 60.0
## 29 0 0.0 0.0
## 30 0 0.0 0.0
## 31 0 0.0 0.0
## 32 0 0.0 0.0
## 33 0 0.0 0.0
## 34 0 0.0 0.0
## 35 0 0.0 0.0
## 36 0 19.6 36.0
## 37 0 19.6 37.0
## 38 0 0.0 0.0
## 39 0 20.0 37.0
## 40 0 20.0 37.0
## 41 0 0.0 0.0
## 42 0 19.6 37.0
## 43 0 19.6 37.0
## 44 0 19.6 38.0
## Seats..First.Class. Seat.Width..Business. Seat.Pitch..Business.
## 1 12 0.0 0.00
## 2 28 21.0 59.00
## 3 12 0.0 0.00
## 4 12 0.0 0.00
## 5 0 21.0 60.00
## 6 0 21.0 80.00
## 7 0 21.0 80.00
## 8 0 20.0 60.00
## 9 12 0.0 0.00
## 10 12 0.0 0.00
## 11 16 0.0 0.00
## 12 16 0.0 0.00
## 13 20 0.0 0.00
## 14 0 20.5 82.00
## 15 24 0.0 0.00
## 16 0 21.0 54.50
## 17 22 0.0 0.00
## 18 22 0.0 0.00
## 19 24 0.0 0.00
## 20 22 0.0 0.00
## 21 0 21.0 38.00
## 22 24 0.0 0.00
## 23 0 18.5 60.00
## 24 0 21.0 78.95
## 25 30 0.0 0.00
## 26 30 0.0 0.00
## 27 0 21.0 78.95
## 28 36 0.0 0.00
## 29 0 21.0 78.95
## 30 0 21.0 78.95
## 31 0 21.0 78.95
## 32 0 21.0 78.00
## 33 0 21.0 78.00
## 34 0 0.0 0.00
## 35 0 0.0 0.00
## 36 9 0.0 0.00
## 37 12 0.0 0.00
## 38 0 0.0 0.00
## 39 9 0.0 0.00
## 40 12 0.0 0.00
## 41 0 0.0 0.00
## 42 16 0.0 0.00
## 43 16 0.0 0.00
## 44 16 0.0 0.00
## Seats..Business. Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort.
## 1 0 17.20 34.0
## 2 14 0.00 0.0
## 3 0 17.20 34.0
## 4 0 17.20 34.0
## 5 32 18.00 35.0
## 6 34 18.00 35.0
## 7 34 18.00 35.0
## 8 34 18.00 35.0
## 9 0 18.10 34.0
## 10 0 17.20 34.0
## 11 0 17.20 34.0
## 12 0 17.20 34.0
## 13 0 17.20 34.0
## 14 48 17.20 35.0
## 15 0 17.20 35.0
## 16 16 17.20 35.0
## 17 0 17.20 34.5
## 18 0 17.20 34.0
## 19 0 17.20 34.5
## 20 0 17.20 34.5
## 21 26 17.20 34.0
## 22 0 17.20 34.0
## 23 30 17.90 35.0
## 24 36 17.90 35.0
## 25 0 17.90 34.0
## 26 0 17.90 34.0
## 27 36 17.90 35.0
## 28 0 17.90 35.0
## 29 26 17.90 35.0
## 30 26 17.90 35.0
## 31 40 17.90 35.0
## 32 45 18.50 36.0
## 33 45 18.50 35.0
## 34 0 0.00 0.0
## 35 0 0.00 0.0
## 36 0 17.30 34.0
## 37 0 17.30 34.0
## 38 0 0.00 0.0
## 39 0 18.25 34.0
## 40 0 18.25 34.0
## 41 0 0.00 0.0
## 42 0 18.10 34.0
## 43 0 18.10 34.0
## 44 0 18.10 35.0
## Seats..Eco.Comfort. Seat.Width..Economy. Seat.Pitch..Economy.
## 1 18 17.20 30.5
## 2 0 0.00 0.0
## 3 18 17.20 31.5
## 4 18 17.20 31.5
## 5 30 18.00 30.5
## 6 32 18.00 30.5
## 7 32 18.00 30.5
## 8 32 18.00 30.5
## 9 15 18.10 31.0
## 10 18 17.20 30.5
## 11 18 17.20 30.5
## 12 18 17.20 30.5
## 13 21 17.20 30.5
## 14 42 17.20 30.5
## 15 18 17.20 31.0
## 16 25 17.20 30.5
## 17 18 17.20 31.0
## 18 19 17.20 31.5
## 19 20 17.20 31.5
## 20 21 17.20 32.0
## 21 26 17.20 31.5
## 22 23 17.20 31.0
## 23 38 17.90 31.5
## 24 32 17.90 31.5
## 25 28 17.90 31.5
## 26 28 17.90 31.5
## 27 29 17.90 31.5
## 28 31 17.90 31.5
## 29 35 17.90 31.5
## 30 29 17.90 31.5
## 31 28 17.90 31.5
## 32 36 18.50 31.5
## 33 36 18.50 31.5
## 34 0 17.30 31.0
## 35 0 17.30 31.0
## 36 8 17.30 31.0
## 37 12 17.30 31.0
## 38 0 18.20 31.0
## 39 12 18.25 31.0
## 40 12 18.25 31.0
## 41 0 17.30 31.0
## 42 15 18.10 32.0
## 43 15 18.10 31.5
## 44 14 18.10 31.0
## Seats..Economy. Accommodation Cruising.Speed..mph. Range..miles.
## 1 96 126 517 2399
## 2 0 54 517 3119
## 3 120 150 517 2420
## 4 120 150 517 2420
## 5 181 243 531 6536
## 6 168 243 531 6536
## 7 227 293 531 5343
## 8 232 298 531 5343
## 9 83 110 504 1510
## 10 94 124 517 2925
## 11 126 124 517 2925
## 12 126 160 517 2850
## 13 139 180 517 2870
## 14 286 376 564 7365
## 15 132 174 517 4344
## 16 130 171 517 4705
## 17 141 181 517 2854
## 18 141 182 517 2854
## 19 136 180 517 3393
## 20 132 175 517 3764
## 21 132 184 517 3764
## 22 177 224 517 3228
## 23 140 208 517 6408
## 24 143 211 517 6408
## 25 203 261 517 3515
## 26 203 261 517 3515
## 27 143 208 517 6640
## 28 143 210 517 6408
## 29 171 226 517 6221
## 30 171 226 517 6221
## 31 178 246 517 6336
## 32 188 269 550 8542
## 33 188 269 550 10375
## 34 50 50 488 1265
## 35 50 50 488 1265
## 36 48 65 515 1650
## 37 52 76 515 1744
## 38 28 28 364 920
## 39 48 69 545 1800
## 40 52 76 545 1800
## 41 50 50 517 1496
## 42 118 149 498 1510
## 43 129 160 498 1992
## 44 90 120 504 731
## Engines Wingspan..ft. Tail.Height..ft. Length..ft. Wifi Video Power
## 1 2 111.830 38.5830 111.000 1 0 0
## 2 2 111.830 38.5830 111.000 1 1 0
## 3 2 111.830 38.5830 123.250 1 0 0
## 4 2 111.830 38.5830 123.250 1 0 0
## 5 2 197.830 59.8300 188.670 0 1 1
## 6 2 197.830 59.8300 188.670 0 1 1
## 7 2 197.830 56.3300 208.830 0 1 1
## 8 2 197.830 56.3300 208.830 0 1 1
## 9 2 93.330 29.0830 120.000 1 0 1
## 10 2 117.416 41.1670 110.330 1 1 1
## 11 2 117.416 41.1670 110.330 1 1 1
## 12 2 117.416 41.1670 129.500 1 1 1
## 13 2 117.416 41.1670 138.167 1 1 1
## 14 4 213.000 62.5416 231.830 0 1 1
## 15 2 134.750 44.5000 155.250 0 1 0
## 16 2 134.750 44.5000 155.250 1 1 1
## 17 2 134.750 44.5000 155.250 1 0 0
## 18 2 134.750 44.5000 155.250 1 0 0
## 19 2 111.830 38.5830 123.250 1 1 0
## 20 2 134.750 44.5000 155.250 1 1 0
## 21 2 134.750 44.5000 155.250 1 1 1
## 22 2 124.830 45.0830 177.416 1 1 0
## 23 2 156.083 52.0000 180.250 0 1 1
## 24 2 156.083 52.0000 180.250 0 1 1
## 25 2 156.083 52.0000 180.250 1 1 1
## 26 2 156.083 52.0000 180.250 1 1 1
## 27 2 156.083 52.0000 180.250 0 1 1
## 28 2 156.083 52.0000 180.250 0 1 1
## 29 2 156.083 52.0000 180.250 0 1 1
## 30 2 156.083 52.0000 180.250 0 1 1
## 31 2 171.000 54.9170 201.330 0 1 1
## 32 2 212.583 61.3300 209.083 0 1 1
## 33 2 212.583 61.3300 209.083 0 1 1
## 34 2 69.583 20.4160 87.830 0 0 0
## 35 2 69.583 20.4160 87.830 0 0 0
## 36 2 76.250 24.8300 106.083 1 0 0
## 37 2 81.583 24.5830 118.916 1 0 0
## 38 2 64.916 20.8300 65.583 0 0 0
## 39 2 85.416 32.3300 98.083 1 0 0
## 40 2 85.416 31.9160 103.916 1 0 0
## 41 2 65.750 22.1670 98.000 0 0 0
## 42 2 107.830 30.5000 147.830 1 0 1
## 43 2 107.830 30.5830 152.583 1 0 1
## 44 2 93.830 27.5000 133.500 1 0 0
## Satellite Flat.bed Sleeper Club First.Class Business Eco.Comfort
## 1 0 0 0 0 1 0 1
## 2 0 0 0 1 1 1 0
## 3 0 0 0 0 1 0 1
## 4 0 0 0 0 1 0 1
## 5 0 1 0 0 0 1 1
## 6 0 0 1 0 0 1 1
## 7 0 1 0 0 0 1 1
## 8 0 0 1 0 0 1 1
## 9 0 0 0 0 1 0 1
## 10 1 0 0 0 1 0 1
## 11 1 0 0 0 1 0 1
## 12 1 0 0 0 1 0 1
## 13 0 0 0 0 1 0 1
## 14 0 1 0 0 0 1 1
## 15 0 0 0 0 1 0 1
## 16 0 0 1 0 0 1 1
## 17 0 0 0 0 1 0 1
## 18 0 0 0 0 1 0 1
## 19 0 0 0 0 1 0 1
## 20 0 0 0 0 1 0 1
## 21 1 0 0 0 0 1 1
## 22 0 0 0 0 1 0 1
## 23 0 0 1 0 0 1 1
## 24 0 1 0 0 0 1 1
## 25 1 0 0 0 1 0 1
## 26 1 0 0 0 1 0 1
## 27 0 1 0 0 0 1 1
## 28 0 0 1 0 0 1 1
## 29 0 1 0 0 0 1 1
## 30 0 0 1 0 0 1 1
## 31 0 1 0 0 0 1 1
## 32 0 1 0 0 0 1 1
## 33 0 1 0 0 0 1 1
## 34 0 0 0 0 0 0 0
## 35 0 0 0 0 0 0 0
## 36 0 0 0 0 1 0 1
## 37 0 0 0 0 1 0 1
## 38 0 0 0 0 0 0 0
## 39 0 0 0 0 1 0 1
## 40 0 0 0 0 1 0 1
## 41 0 0 0 0 0 0 0
## 42 0 0 0 0 1 0 1
## 43 0 0 0 0 1 0 1
## 44 0 0 0 0 1 0 1
## Economy
## 1 1
## 2 0
## 3 1
## 4 1
## 5 1
## 6 1
## 7 1
## 8 1
## 9 1
## 10 1
## 11 1
## 12 1
## 13 1
## 14 1
## 15 1
## 16 1
## 17 1
## 18 1
## 19 1
## 20 1
## 21 1
## 22 1
## 23 1
## 24 1
## 25 1
## 26 1
## 27 1
## 28 1
## 29 1
## 30 1
## 31 1
## 32 1
## 33 1
## 34 1
## 35 1
## 36 1
## 37 1
## 38 1
## 39 1
## 40 1
## 41 1
## 42 1
## 43 1
## 44 1
delta_1<-delta
delta_1$Aircraft<-NULL
delta_1
## Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 1 0.0 0 0
## 2 19.4 44 12
## 3 0.0 0 0
## 4 0.0 0 0
## 5 0.0 0 0
## 6 0.0 0 0
## 7 0.0 0 0
## 8 0.0 0 0
## 9 0.0 0 0
## 10 0.0 0 0
## 11 0.0 0 0
## 12 0.0 0 0
## 13 0.0 0 0
## 14 0.0 0 0
## 15 0.0 0 0
## 16 0.0 0 0
## 17 0.0 0 0
## 18 0.0 0 0
## 19 0.0 0 0
## 20 0.0 0 0
## 21 0.0 0 0
## 22 0.0 0 0
## 23 0.0 0 0
## 24 0.0 0 0
## 25 0.0 0 0
## 26 0.0 0 0
## 27 0.0 0 0
## 28 0.0 0 0
## 29 0.0 0 0
## 30 0.0 0 0
## 31 0.0 0 0
## 32 0.0 0 0
## 33 0.0 0 0
## 34 0.0 0 0
## 35 0.0 0 0
## 36 0.0 0 0
## 37 0.0 0 0
## 38 0.0 0 0
## 39 0.0 0 0
## 40 0.0 0 0
## 41 0.0 0 0
## 42 0.0 0 0
## 43 0.0 0 0
## 44 0.0 0 0
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 1 21.0 36.0 12
## 2 19.4 40.0 28
## 3 21.0 36.0 12
## 4 21.0 36.0 12
## 5 0.0 0.0 0
## 6 0.0 0.0 0
## 7 0.0 0.0 0
## 8 0.0 0.0 0
## 9 19.6 37.0 12
## 10 21.0 37.0 12
## 11 21.0 37.0 16
## 12 21.0 38.0 16
## 13 21.0 37.0 20
## 14 0.0 0.0 0
## 15 21.0 40.0 24
## 16 0.0 0.0 0
## 17 21.0 37.0 22
## 18 21.0 37.0 22
## 19 21.0 37.5 24
## 20 21.0 45.0 22
## 21 0.0 0.0 0
## 22 21.0 37.0 24
## 23 0.0 0.0 0
## 24 0.0 0.0 0
## 25 18.5 37.5 30
## 26 18.5 37.5 30
## 27 0.0 0.0 0
## 28 18.5 60.0 36
## 29 0.0 0.0 0
## 30 0.0 0.0 0
## 31 0.0 0.0 0
## 32 0.0 0.0 0
## 33 0.0 0.0 0
## 34 0.0 0.0 0
## 35 0.0 0.0 0
## 36 19.6 36.0 9
## 37 19.6 37.0 12
## 38 0.0 0.0 0
## 39 20.0 37.0 9
## 40 20.0 37.0 12
## 41 0.0 0.0 0
## 42 19.6 37.0 16
## 43 19.6 37.0 16
## 44 19.6 38.0 16
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 1 0.0 0.00 0
## 2 21.0 59.00 14
## 3 0.0 0.00 0
## 4 0.0 0.00 0
## 5 21.0 60.00 32
## 6 21.0 80.00 34
## 7 21.0 80.00 34
## 8 20.0 60.00 34
## 9 0.0 0.00 0
## 10 0.0 0.00 0
## 11 0.0 0.00 0
## 12 0.0 0.00 0
## 13 0.0 0.00 0
## 14 20.5 82.00 48
## 15 0.0 0.00 0
## 16 21.0 54.50 16
## 17 0.0 0.00 0
## 18 0.0 0.00 0
## 19 0.0 0.00 0
## 20 0.0 0.00 0
## 21 21.0 38.00 26
## 22 0.0 0.00 0
## 23 18.5 60.00 30
## 24 21.0 78.95 36
## 25 0.0 0.00 0
## 26 0.0 0.00 0
## 27 21.0 78.95 36
## 28 0.0 0.00 0
## 29 21.0 78.95 26
## 30 21.0 78.95 26
## 31 21.0 78.95 40
## 32 21.0 78.00 45
## 33 21.0 78.00 45
## 34 0.0 0.00 0
## 35 0.0 0.00 0
## 36 0.0 0.00 0
## 37 0.0 0.00 0
## 38 0.0 0.00 0
## 39 0.0 0.00 0
## 40 0.0 0.00 0
## 41 0.0 0.00 0
## 42 0.0 0.00 0
## 43 0.0 0.00 0
## 44 0.0 0.00 0
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 1 17.20 34.0 18
## 2 0.00 0.0 0
## 3 17.20 34.0 18
## 4 17.20 34.0 18
## 5 18.00 35.0 30
## 6 18.00 35.0 32
## 7 18.00 35.0 32
## 8 18.00 35.0 32
## 9 18.10 34.0 15
## 10 17.20 34.0 18
## 11 17.20 34.0 18
## 12 17.20 34.0 18
## 13 17.20 34.0 21
## 14 17.20 35.0 42
## 15 17.20 35.0 18
## 16 17.20 35.0 25
## 17 17.20 34.5 18
## 18 17.20 34.0 19
## 19 17.20 34.5 20
## 20 17.20 34.5 21
## 21 17.20 34.0 26
## 22 17.20 34.0 23
## 23 17.90 35.0 38
## 24 17.90 35.0 32
## 25 17.90 34.0 28
## 26 17.90 34.0 28
## 27 17.90 35.0 29
## 28 17.90 35.0 31
## 29 17.90 35.0 35
## 30 17.90 35.0 29
## 31 17.90 35.0 28
## 32 18.50 36.0 36
## 33 18.50 35.0 36
## 34 0.00 0.0 0
## 35 0.00 0.0 0
## 36 17.30 34.0 8
## 37 17.30 34.0 12
## 38 0.00 0.0 0
## 39 18.25 34.0 12
## 40 18.25 34.0 12
## 41 0.00 0.0 0
## 42 18.10 34.0 15
## 43 18.10 34.0 15
## 44 18.10 35.0 14
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 1 17.20 30.5 96 126
## 2 0.00 0.0 0 54
## 3 17.20 31.5 120 150
## 4 17.20 31.5 120 150
## 5 18.00 30.5 181 243
## 6 18.00 30.5 168 243
## 7 18.00 30.5 227 293
## 8 18.00 30.5 232 298
## 9 18.10 31.0 83 110
## 10 17.20 30.5 94 124
## 11 17.20 30.5 126 124
## 12 17.20 30.5 126 160
## 13 17.20 30.5 139 180
## 14 17.20 30.5 286 376
## 15 17.20 31.0 132 174
## 16 17.20 30.5 130 171
## 17 17.20 31.0 141 181
## 18 17.20 31.5 141 182
## 19 17.20 31.5 136 180
## 20 17.20 32.0 132 175
## 21 17.20 31.5 132 184
## 22 17.20 31.0 177 224
## 23 17.90 31.5 140 208
## 24 17.90 31.5 143 211
## 25 17.90 31.5 203 261
## 26 17.90 31.5 203 261
## 27 17.90 31.5 143 208
## 28 17.90 31.5 143 210
## 29 17.90 31.5 171 226
## 30 17.90 31.5 171 226
## 31 17.90 31.5 178 246
## 32 18.50 31.5 188 269
## 33 18.50 31.5 188 269
## 34 17.30 31.0 50 50
## 35 17.30 31.0 50 50
## 36 17.30 31.0 48 65
## 37 17.30 31.0 52 76
## 38 18.20 31.0 28 28
## 39 18.25 31.0 48 69
## 40 18.25 31.0 52 76
## 41 17.30 31.0 50 50
## 42 18.10 32.0 118 149
## 43 18.10 31.5 129 160
## 44 18.10 31.0 90 120
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 1 517 2399 2 111.830
## 2 517 3119 2 111.830
## 3 517 2420 2 111.830
## 4 517 2420 2 111.830
## 5 531 6536 2 197.830
## 6 531 6536 2 197.830
## 7 531 5343 2 197.830
## 8 531 5343 2 197.830
## 9 504 1510 2 93.330
## 10 517 2925 2 117.416
## 11 517 2925 2 117.416
## 12 517 2850 2 117.416
## 13 517 2870 2 117.416
## 14 564 7365 4 213.000
## 15 517 4344 2 134.750
## 16 517 4705 2 134.750
## 17 517 2854 2 134.750
## 18 517 2854 2 134.750
## 19 517 3393 2 111.830
## 20 517 3764 2 134.750
## 21 517 3764 2 134.750
## 22 517 3228 2 124.830
## 23 517 6408 2 156.083
## 24 517 6408 2 156.083
## 25 517 3515 2 156.083
## 26 517 3515 2 156.083
## 27 517 6640 2 156.083
## 28 517 6408 2 156.083
## 29 517 6221 2 156.083
## 30 517 6221 2 156.083
## 31 517 6336 2 171.000
## 32 550 8542 2 212.583
## 33 550 10375 2 212.583
## 34 488 1265 2 69.583
## 35 488 1265 2 69.583
## 36 515 1650 2 76.250
## 37 515 1744 2 81.583
## 38 364 920 2 64.916
## 39 545 1800 2 85.416
## 40 545 1800 2 85.416
## 41 517 1496 2 65.750
## 42 498 1510 2 107.830
## 43 498 1992 2 107.830
## 44 504 731 2 93.830
## Tail.Height..ft. Length..ft. Wifi Video Power Satellite Flat.bed
## 1 38.5830 111.000 1 0 0 0 0
## 2 38.5830 111.000 1 1 0 0 0
## 3 38.5830 123.250 1 0 0 0 0
## 4 38.5830 123.250 1 0 0 0 0
## 5 59.8300 188.670 0 1 1 0 1
## 6 59.8300 188.670 0 1 1 0 0
## 7 56.3300 208.830 0 1 1 0 1
## 8 56.3300 208.830 0 1 1 0 0
## 9 29.0830 120.000 1 0 1 0 0
## 10 41.1670 110.330 1 1 1 1 0
## 11 41.1670 110.330 1 1 1 1 0
## 12 41.1670 129.500 1 1 1 1 0
## 13 41.1670 138.167 1 1 1 0 0
## 14 62.5416 231.830 0 1 1 0 1
## 15 44.5000 155.250 0 1 0 0 0
## 16 44.5000 155.250 1 1 1 0 0
## 17 44.5000 155.250 1 0 0 0 0
## 18 44.5000 155.250 1 0 0 0 0
## 19 38.5830 123.250 1 1 0 0 0
## 20 44.5000 155.250 1 1 0 0 0
## 21 44.5000 155.250 1 1 1 1 0
## 22 45.0830 177.416 1 1 0 0 0
## 23 52.0000 180.250 0 1 1 0 0
## 24 52.0000 180.250 0 1 1 0 1
## 25 52.0000 180.250 1 1 1 1 0
## 26 52.0000 180.250 1 1 1 1 0
## 27 52.0000 180.250 0 1 1 0 1
## 28 52.0000 180.250 0 1 1 0 0
## 29 52.0000 180.250 0 1 1 0 1
## 30 52.0000 180.250 0 1 1 0 0
## 31 54.9170 201.330 0 1 1 0 1
## 32 61.3300 209.083 0 1 1 0 1
## 33 61.3300 209.083 0 1 1 0 1
## 34 20.4160 87.830 0 0 0 0 0
## 35 20.4160 87.830 0 0 0 0 0
## 36 24.8300 106.083 1 0 0 0 0
## 37 24.5830 118.916 1 0 0 0 0
## 38 20.8300 65.583 0 0 0 0 0
## 39 32.3300 98.083 1 0 0 0 0
## 40 31.9160 103.916 1 0 0 0 0
## 41 22.1670 98.000 0 0 0 0 0
## 42 30.5000 147.830 1 0 1 0 0
## 43 30.5830 152.583 1 0 1 0 0
## 44 27.5000 133.500 1 0 0 0 0
## Sleeper Club First.Class Business Eco.Comfort Economy
## 1 0 0 1 0 1 1
## 2 0 1 1 1 0 0
## 3 0 0 1 0 1 1
## 4 0 0 1 0 1 1
## 5 0 0 0 1 1 1
## 6 1 0 0 1 1 1
## 7 0 0 0 1 1 1
## 8 1 0 0 1 1 1
## 9 0 0 1 0 1 1
## 10 0 0 1 0 1 1
## 11 0 0 1 0 1 1
## 12 0 0 1 0 1 1
## 13 0 0 1 0 1 1
## 14 0 0 0 1 1 1
## 15 0 0 1 0 1 1
## 16 1 0 0 1 1 1
## 17 0 0 1 0 1 1
## 18 0 0 1 0 1 1
## 19 0 0 1 0 1 1
## 20 0 0 1 0 1 1
## 21 0 0 0 1 1 1
## 22 0 0 1 0 1 1
## 23 1 0 0 1 1 1
## 24 0 0 0 1 1 1
## 25 0 0 1 0 1 1
## 26 0 0 1 0 1 1
## 27 0 0 0 1 1 1
## 28 1 0 0 1 1 1
## 29 0 0 0 1 1 1
## 30 1 0 0 1 1 1
## 31 0 0 0 1 1 1
## 32 0 0 0 1 1 1
## 33 0 0 0 1 1 1
## 34 0 0 0 0 0 1
## 35 0 0 0 0 0 1
## 36 0 0 1 0 1 1
## 37 0 0 1 0 1 1
## 38 0 0 0 0 0 1
## 39 0 0 1 0 1 1
## 40 0 0 1 0 1 1
## 41 0 0 0 0 0 1
## 42 0 0 1 0 1 1
## 43 0 0 1 0 1 1
## 44 0 0 1 0 1 1
cor(delta_1)
## Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## Seat.Width..Club. 1.000000000 1.000000000 1.000000000
## Seat.Pitch..Club. 1.000000000 1.000000000 1.000000000
## Seat..Club. 1.000000000 1.000000000 1.000000000
## Seat.Width..First.Class. 0.120189617 0.120189617 0.120189617
## Seat.Pitch..First.Class. 0.142771421 0.142771421 0.142771421
## Seats..First.Class. 0.249277189 0.249277189 0.249277189
## Seat.Width..Business. 0.205403882 0.205403882 0.205403882
## Seat.Pitch..Business. 0.147212920 0.147212920 0.147212920
## Seats..Business. 0.019545178 0.019545178 0.019545178
## Seat.Width..Eco.Comfort. -0.424753564 -0.424753564 -0.424753564
## Seat.Pitch..Eco.Comfort. -0.425461948 -0.425461948 -0.425461948
## Seats..Eco.Comfort. -0.292981507 -0.292981507 -0.292981507
## Seat.Width..Economy. -0.986824851 -0.986824851 -0.986824851
## Seat.Pitch..Economy. -0.995580910 -0.995580910 -0.995580910
## Seats..Economy. -0.335108702 -0.335108702 -0.335108702
## Accommodation -0.229942100 -0.229942100 -0.229942100
## Cruising.Speed..mph. 0.006851511 0.006851511 0.006851511
## Range..miles. -0.050662801 -0.050662801 -0.050662801
## Engines -0.023255814 -0.023255814 -0.023255814
## Wingspan..ft. -0.073998183 -0.073998183 -0.073998183
## Tail.Height..ft. -0.050142509 -0.050142509 -0.050142509
## Length..ft. -0.149085694 -0.149085694 -0.149085694
## Wifi 0.132945171 0.132945171 0.132945171
## Video 0.121006403 0.121006403 0.121006403
## Power -0.174927857 -0.174927857 -0.174927857
## Satellite -0.060596787 -0.060596787 -0.060596787
## Flat.bed -0.077330889 -0.077330889 -0.077330889
## Sleeper -0.060596787 -0.060596787 -0.060596787
## Club 1.000000000 1.000000000 1.000000000
## First.Class 0.139211512 0.139211512 0.139211512
## Business 0.192186640 0.192186640 0.192186640
## Eco.Comfort -0.425905328 -0.425905328 -0.425905328
## Economy -1.000000000 -1.000000000 -1.000000000
## Seat.Width..First.Class. Seat.Pitch..First.Class.
## Seat.Width..Club. 0.12018962 0.14277142
## Seat.Pitch..Club. 0.12018962 0.14277142
## Seat..Club. 0.12018962 0.14277142
## Seat.Width..First.Class. 1.00000000 0.97633377
## Seat.Pitch..First.Class. 0.97633377 1.00000000
## Seats..First.Class. 0.84687897 0.90229994
## Seat.Width..Business. -0.77218456 -0.75295326
## Seat.Pitch..Business. -0.76917955 -0.75144541
## Seats..Business. -0.77769057 -0.76296454
## Seat.Width..Eco.Comfort. 0.24286049 0.23187940
## Seat.Pitch..Eco.Comfort. 0.23962601 0.22747485
## Seats..Eco.Comfort. -0.35857861 -0.31835430
## Seat.Width..Economy. -0.17199405 -0.18488081
## Seat.Pitch..Economy. -0.11425004 -0.13166948
## Seats..Economy. -0.30368233 -0.28634397
## Accommodation -0.33566056 -0.30416151
## Cruising.Speed..mph. 0.03378285 0.03111943
## Range..miles. -0.57311694 -0.51121529
## Engines -0.17453563 -0.17191574
## Wingspan..ft. -0.45215524 -0.40917135
## Tail.Height..ft. -0.36247777 -0.32056476
## Length..ft. -0.41007202 -0.35721700
## Wifi 0.81720666 0.74607635
## Video -0.31290648 -0.25647372
## Power -0.40642695 -0.35815000
## Satellite 0.20497375 0.19093770
## Flat.bed -0.58037079 -0.57165909
## Sleeper -0.33272623 -0.24296221
## Club 0.12018962 0.14277142
## First.Class 0.96066651 0.88782293
## Business -0.73192575 -0.65373025
## Eco.Comfort 0.27139970 0.25587450
## Economy -0.12018962 -0.14277142
## Seats..First.Class. Seat.Width..Business.
## Seat.Width..Club. 0.24927719 0.2054039
## Seat.Pitch..Club. 0.24927719 0.2054039
## Seat..Club. 0.24927719 0.2054039
## Seat.Width..First.Class. 0.84687897 -0.7721846
## Seat.Pitch..First.Class. 0.90229994 -0.7529533
## Seats..First.Class. 1.00000000 -0.6207024
## Seat.Width..Business. -0.62070240 1.0000000
## Seat.Pitch..Business. -0.62677718 0.9767533
## Seats..Business. -0.65284014 0.9404945
## Seat.Width..Eco.Comfort. 0.14422148 0.1454650
## Seat.Pitch..Eco.Comfort. 0.14468674 0.1520711
## Seats..Eco.Comfort. -0.18653504 0.6338926
## Seat.Width..Economy. -0.28619396 -0.1447697
## Seat.Pitch..Economy. -0.22975971 -0.2070180
## Seats..Economy. -0.09284326 0.4806972
## Accommodation -0.09863473 0.5775328
## Cruising.Speed..mph. 0.01117762 0.3264156
## Range..miles. -0.34276412 0.7939294
## Engines -0.15060497 0.1977706
## Wingspan..ft. -0.21918186 0.7325815
## Tail.Height..ft. -0.12040065 0.6950949
## Length..ft. -0.15303993 0.6736568
## Wifi 0.60313708 -0.5770885
## Video -0.01192149 0.5993794
## Power -0.25625513 0.5620558
## Satellite 0.25259580 -0.1609255
## Flat.bed -0.50079589 0.6801945
## Sleeper -0.16914897 0.3727807
## Club 0.24927719 0.2054039
## First.Class 0.74765284 -0.7315094
## Business -0.50388154 0.9519556
## Eco.Comfort 0.16583154 0.1199173
## Economy -0.24927719 -0.2054039
## Seat.Pitch..Business. Seats..Business.
## Seat.Width..Club. 0.14721292 0.01954518
## Seat.Pitch..Club. 0.14721292 0.01954518
## Seat..Club. 0.14721292 0.01954518
## Seat.Width..First.Class. -0.76917955 -0.77769057
## Seat.Pitch..First.Class. -0.75144541 -0.76296454
## Seats..First.Class. -0.62677718 -0.65284014
## Seat.Width..Business. 0.97675331 0.94049449
## Seat.Pitch..Business. 1.00000000 0.96219051
## Seats..Business. 0.96219051 1.00000000
## Seat.Width..Eco.Comfort. 0.17129491 0.22462271
## Seat.Pitch..Eco.Comfort. 0.17621810 0.22845227
## Seats..Eco.Comfort. 0.66914169 0.72180091
## Seat.Width..Economy. -0.07956787 0.04823223
## Seat.Pitch..Economy. -0.14765247 -0.02035739
## Seats..Economy. 0.52831077 0.60302615
## Accommodation 0.62067436 0.68593677
## Cruising.Speed..mph. 0.34341172 0.38646871
## Range..miles. 0.83507441 0.86726517
## Engines 0.24843899 0.33060460
## Wingspan..ft. 0.76482828 0.81609214
## Tail.Height..ft. 0.72218100 0.75161535
## Length..ft. 0.71210533 0.76036356
## Wifi -0.64525169 -0.66226390
## Video 0.58512895 0.56475369
## Power 0.56473160 0.58193641
## Satellite -0.22038719 -0.17951261
## Flat.bed 0.75424336 0.79511706
## Sleeper 0.34430965 0.27342262
## Club 0.14721292 0.01954518
## First.Class -0.73007262 -0.74132742
## Business 0.92932245 0.89696175
## Eco.Comfort 0.14209869 0.19469457
## Economy -0.14721292 -0.01954518
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort.
## Seat.Width..Club. -0.4247536 -0.42546195
## Seat.Pitch..Club. -0.4247536 -0.42546195
## Seat..Club. -0.4247536 -0.42546195
## Seat.Width..First.Class. 0.2428605 0.23962601
## Seat.Pitch..First.Class. 0.2318794 0.22747485
## Seats..First.Class. 0.1442215 0.14468674
## Seat.Width..Business. 0.1454650 0.15207108
## Seat.Pitch..Business. 0.1712949 0.17621810
## Seats..Business. 0.2246227 0.22845227
## Seat.Width..Eco.Comfort. 1.0000000 0.99769633
## Seat.Pitch..Eco.Comfort. 0.9976963 1.00000000
## Seats..Eco.Comfort. 0.7026452 0.71090705
## Seat.Width..Economy. 0.4438196 0.43618531
## Seat.Pitch..Economy. 0.4316507 0.43083639
## Seats..Economy. 0.5777214 0.58916477
## Accommodation 0.5861524 0.59631822
## Cruising.Speed..mph. 0.5443377 0.54489403
## Range..miles. 0.3823560 0.39141401
## Engines 0.0419327 0.06150305
## Wingspan..ft. 0.4989655 0.50662409
## Tail.Height..ft. 0.5472883 0.55886048
## Length..ft. 0.5598451 0.56509548
## Wifi 0.2345934 0.23028706
## Video 0.3041789 0.32514685
## Power 0.4362354 0.42494408
## Satellite 0.1257589 0.12400282
## Flat.bed 0.2096094 0.20965221
## Sleeper 0.1528603 0.16025614
## Club -0.4247536 -0.42546195
## First.Class 0.2208177 0.21484066
## Business 0.1642068 0.17096946
## Eco.Comfort 0.9972957 0.99895897
## Economy 0.4247536 0.42546195
## Seats..Eco.Comfort. Seat.Width..Economy.
## Seat.Width..Club. -0.29298151 -0.986824851
## Seat.Pitch..Club. -0.29298151 -0.986824851
## Seat..Club. -0.29298151 -0.986824851
## Seat.Width..First.Class. -0.35857861 -0.171994053
## Seat.Pitch..First.Class. -0.31835430 -0.184880813
## Seats..First.Class. -0.18653504 -0.286193963
## Seat.Width..Business. 0.63389261 -0.144769743
## Seat.Pitch..Business. 0.66914169 -0.079567873
## Seats..Business. 0.72180091 0.048232227
## Seat.Width..Eco.Comfort. 0.70264519 0.443819604
## Seat.Pitch..Eco.Comfort. 0.71090705 0.436185307
## Seats..Eco.Comfort. 1.00000000 0.333286132
## Seat.Width..Economy. 0.33328613 1.000000000
## Seat.Pitch..Economy. 0.30021542 0.986044327
## Seats..Economy. 0.88404077 0.353394224
## Accommodation 0.92647896 0.260863177
## Cruising.Speed..mph. 0.52963864 -0.007748519
## Range..miles. 0.85183585 0.108077451
## Engines 0.29552917 -0.002730705
## Wingspan..ft. 0.90483053 0.126881843
## Tail.Height..ft. 0.92211679 0.089463636
## Length..ft. 0.91127066 0.199490353
## Wifi -0.34877166 -0.190964111
## Video 0.69244171 -0.111877887
## Power 0.70099271 0.234235225
## Satellite 0.06417076 0.027670589
## Flat.bed 0.57889052 0.138893706
## Sleeper 0.37451382 0.084818827
## Club -0.29298151 -0.986824851
## First.Class -0.39765852 -0.189149590
## Business 0.67567651 -0.128036700
## Eco.Comfort 0.68790289 0.433602682
## Economy 0.29298151 0.986824851
## Seat.Pitch..Economy. Seats..Economy.
## Seat.Width..Club. -0.995580910 -0.33510870
## Seat.Pitch..Club. -0.995580910 -0.33510870
## Seat..Club. -0.995580910 -0.33510870
## Seat.Width..First.Class. -0.114250041 -0.30368233
## Seat.Pitch..First.Class. -0.131669478 -0.28634397
## Seats..First.Class. -0.229759708 -0.09284326
## Seat.Width..Business. -0.207017997 0.48069719
## Seat.Pitch..Business. -0.147652472 0.52831077
## Seats..Business. -0.020357390 0.60302615
## Seat.Width..Eco.Comfort. 0.431650724 0.57772138
## Seat.Pitch..Eco.Comfort. 0.430836389 0.58916477
## Seats..Eco.Comfort. 0.300215416 0.88404077
## Seat.Width..Economy. 0.986044327 0.35339422
## Seat.Pitch..Economy. 1.000000000 0.33434130
## Seats..Economy. 0.334341299 1.00000000
## Accommodation 0.233844423 0.98199346
## Cruising.Speed..mph. -0.014094874 0.46021615
## Range..miles. 0.060512980 0.70285788
## Engines 0.002976326 0.40406885
## Wingspan..ft. 0.073465826 0.87643795
## Tail.Height..ft. 0.051855997 0.85737619
## Length..ft. 0.161325052 0.90959485
## Wifi -0.130295931 -0.31530922
## Video -0.125715090 0.62351880
## Power 0.170145890 0.62250640
## Satellite 0.050409437 0.11902593
## Flat.bed 0.082474683 0.51380579
## Sleeper 0.050409437 0.23126642
## Club -0.995580910 -0.33510870
## First.Class -0.135405915 -0.31392640
## Business -0.189939103 0.48792355
## Eco.Comfort 0.431173965 0.57078222
## Economy 0.995580910 0.33510870
## Accommodation Cruising.Speed..mph. Range..miles.
## Seat.Width..Club. -0.22994210 0.006851511 -0.05066280
## Seat.Pitch..Club. -0.22994210 0.006851511 -0.05066280
## Seat..Club. -0.22994210 0.006851511 -0.05066280
## Seat.Width..First.Class. -0.33566056 0.033782849 -0.57311694
## Seat.Pitch..First.Class. -0.30416151 0.031119434 -0.51121529
## Seats..First.Class. -0.09863473 0.011177620 -0.34276412
## Seat.Width..Business. 0.57753282 0.326415570 0.79392941
## Seat.Pitch..Business. 0.62067436 0.343411717 0.83507441
## Seats..Business. 0.68593677 0.386468707 0.86726517
## Seat.Width..Eco.Comfort. 0.58615242 0.544337686 0.38235599
## Seat.Pitch..Eco.Comfort. 0.59631822 0.544894032 0.39141401
## Seats..Eco.Comfort. 0.92647896 0.529638637 0.85183585
## Seat.Width..Economy. 0.26086318 -0.007748519 0.10807745
## Seat.Pitch..Economy. 0.23384442 -0.014094874 0.06051298
## Seats..Economy. 0.98199346 0.460216147 0.70285788
## Accommodation 1.00000000 0.503419407 0.78750293
## Cruising.Speed..mph. 0.50341941 1.000000000 0.47779159
## Range..miles. 0.78750293 0.477791587 1.00000000
## Engines 0.39487947 0.269238987 0.23621705
## Wingspan..ft. 0.93170753 0.522158584 0.90631379
## Tail.Height..ft. 0.91688030 0.546410586 0.89713978
## Length..ft. 0.95775629 0.522101144 0.84308348
## Wifi -0.35059085 0.031379918 -0.61929095
## Video 0.67736588 0.345396218 0.72669698
## Power 0.64075513 0.249741394 0.61071136
## Satellite 0.06657237 0.017852720 -0.10912352
## Flat.bed 0.56530235 0.313615585 0.72259350
## Sleeper 0.27050293 0.085737135 0.36407182
## Club -0.22994210 0.006851511 -0.05066280
## First.Class -0.35369673 0.029165364 -0.62123720
## Business 0.59540491 0.324425456 0.83752890
## Eco.Comfort 0.57451604 0.537065239 0.35786190
## Economy 0.22994210 -0.006851511 0.05066280
## Engines Wingspan..ft. Tail.Height..ft.
## Seat.Width..Club. -0.023255814 -0.07399818 -0.05014251
## Seat.Pitch..Club. -0.023255814 -0.07399818 -0.05014251
## Seat..Club. -0.023255814 -0.07399818 -0.05014251
## Seat.Width..First.Class. -0.174535626 -0.45215524 -0.36247777
## Seat.Pitch..First.Class. -0.171915744 -0.40917135 -0.32056476
## Seats..First.Class. -0.150604968 -0.21918186 -0.12040065
## Seat.Width..Business. 0.197770629 0.73258149 0.69509486
## Seat.Pitch..Business. 0.248438994 0.76482828 0.72218100
## Seats..Business. 0.330604602 0.81609214 0.75161535
## Seat.Width..Eco.Comfort. 0.041932698 0.49896554 0.54728827
## Seat.Pitch..Eco.Comfort. 0.061503046 0.50662409 0.55886048
## Seats..Eco.Comfort. 0.295529172 0.90483053 0.92211679
## Seat.Width..Economy. -0.002730705 0.12688184 0.08946364
## Seat.Pitch..Economy. 0.002976326 0.07346583 0.05185600
## Seats..Economy. 0.404068845 0.87643795 0.85737619
## Accommodation 0.394879471 0.93170753 0.91688030
## Cruising.Speed..mph. 0.269238987 0.52215858 0.54641059
## Range..miles. 0.236217055 0.90631379 0.89713978
## Engines 1.000000000 0.29524826 0.25086639
## Wingspan..ft. 0.295248262 1.00000000 0.96993962
## Tail.Height..ft. 0.250866391 0.96993962 1.00000000
## Length..ft. 0.313493567 0.93888730 0.90711504
## Wifi -0.174927857 -0.47392341 -0.39260483
## Video 0.121006403 0.71435766 0.78391557
## Power 0.132945171 0.65303782 0.63476161
## Satellite -0.060596787 0.01035839 0.09033521
## Flat.bed 0.300731236 0.65284062 0.59932679
## Sleeper -0.060596787 0.32655950 0.33400052
## Club -0.023255814 -0.07399818 -0.05014251
## First.Class -0.167053814 -0.47433819 -0.39779692
## Business 0.192186640 0.75128673 0.72395209
## Eco.Comfort 0.054603247 0.47793716 0.53368282
## Economy 0.023255814 0.07399818 0.05014251
## Length..ft. Wifi Video Power
## Seat.Width..Club. -0.14908569 0.13294517 0.12100640 -0.1749279
## Seat.Pitch..Club. -0.14908569 0.13294517 0.12100640 -0.1749279
## Seat..Club. -0.14908569 0.13294517 0.12100640 -0.1749279
## Seat.Width..First.Class. -0.41007202 0.81720666 -0.31290648 -0.4064270
## Seat.Pitch..First.Class. -0.35721700 0.74607635 -0.25647372 -0.3581500
## Seats..First.Class. -0.15303993 0.60313708 -0.01192149 -0.2562551
## Seat.Width..Business. 0.67365681 -0.57708847 0.59937942 0.5620558
## Seat.Pitch..Business. 0.71210533 -0.64525169 0.58512895 0.5647316
## Seats..Business. 0.76036356 -0.66226390 0.56475369 0.5819364
## Seat.Width..Eco.Comfort. 0.55984507 0.23459341 0.30417887 0.4362354
## Seat.Pitch..Eco.Comfort. 0.56509548 0.23028706 0.32514685 0.4249441
## Seats..Eco.Comfort. 0.91127066 -0.34877166 0.69244171 0.7009927
## Seat.Width..Economy. 0.19949035 -0.19096411 -0.11187789 0.2342352
## Seat.Pitch..Economy. 0.16132505 -0.13029593 -0.12571509 0.1701459
## Seats..Economy. 0.90959485 -0.31530922 0.62351880 0.6225064
## Accommodation 0.95775629 -0.35059085 0.67736588 0.6407551
## Cruising.Speed..mph. 0.52210114 0.03137992 0.34539622 0.2497414
## Range..miles. 0.84308348 -0.61929095 0.72669698 0.6107114
## Engines 0.31349357 -0.17492786 0.12100640 0.1329452
## Wingspan..ft. 0.93888730 -0.47392341 0.71435766 0.6530378
## Tail.Height..ft. 0.90711504 -0.39260483 0.78391557 0.6347616
## Length..ft. 1.00000000 -0.43011540 0.65720554 0.6438905
## Wifi -0.43011540 1.00000000 -0.31482136 -0.2968421
## Video 0.65720554 -0.31482136 1.00000000 0.6275011
## Power 0.64389049 -0.29684211 0.62750107 1.0000000
## Satellite -0.05610388 0.34641016 0.31530177 0.3464102
## Flat.bed 0.62249330 -0.58167505 0.40237391 0.4420730
## Sleeper 0.32227890 -0.32210068 0.31530177 0.3464102
## Club -0.14908569 0.13294517 0.12100640 -0.1749279
## First.Class -0.43395083 0.86283905 -0.34939516 -0.4272310
## Business 0.70341124 -0.62750107 0.62962963 0.5975181
## Eco.Comfort 0.53837068 0.26614659 0.30417096 0.4107200
## Economy 0.14908569 -0.13294517 -0.12100640 0.1749279
## Satellite Flat.bed Sleeper Club
## Seat.Width..Club. -0.06059679 -0.07733089 -0.06059679 1.000000000
## Seat.Pitch..Club. -0.06059679 -0.07733089 -0.06059679 1.000000000
## Seat..Club. -0.06059679 -0.07733089 -0.06059679 1.000000000
## Seat.Width..First.Class. 0.20497375 -0.58037079 -0.33272623 0.120189617
## Seat.Pitch..First.Class. 0.19093770 -0.57165909 -0.24296221 0.142771421
## Seats..First.Class. 0.25259580 -0.50079589 -0.16914897 0.249277189
## Seat.Width..Business. -0.16092555 0.68019453 0.37278072 0.205403882
## Seat.Pitch..Business. -0.22038719 0.75424336 0.34430965 0.147212920
## Seats..Business. -0.17951261 0.79511706 0.27342262 0.019545178
## Seat.Width..Eco.Comfort. 0.12575892 0.20960936 0.15286028 -0.424753564
## Seat.Pitch..Eco.Comfort. 0.12400282 0.20965221 0.16025614 -0.425461948
## Seats..Eco.Comfort. 0.06417076 0.57889052 0.37451382 -0.292981507
## Seat.Width..Economy. 0.02767059 0.13889371 0.08481883 -0.986824851
## Seat.Pitch..Economy. 0.05040944 0.08247468 0.05040944 -0.995580910
## Seats..Economy. 0.11902593 0.51380579 0.23126642 -0.335108702
## Accommodation 0.06657237 0.56530235 0.27050293 -0.229942100
## Cruising.Speed..mph. 0.01785272 0.31361559 0.08573713 0.006851511
## Range..miles. -0.10912352 0.72259350 0.36407182 -0.050662801
## Engines -0.06059679 0.30073124 -0.06059679 -0.023255814
## Wingspan..ft. 0.01035839 0.65284062 0.32655950 -0.073998183
## Tail.Height..ft. 0.09033521 0.59932679 0.33400052 -0.050142509
## Length..ft. -0.05610388 0.62249330 0.32227890 -0.149085694
## Wifi 0.34641016 -0.58167505 -0.32210068 0.132945171
## Video 0.31530177 0.40237391 0.31530177 0.121006403
## Power 0.34641016 0.44207304 0.34641016 -0.174927857
## Satellite 1.00000000 -0.20149815 -0.15789474 -0.060596787
## Flat.bed -0.20149815 1.00000000 -0.20149815 -0.077330889
## Sleeper -0.15789474 -0.20149815 1.00000000 -0.060596787
## Club -0.06059679 -0.07733089 -0.06059679 1.000000000
## First.Class 0.22973415 -0.55549206 -0.43528575 0.139211512
## Business -0.17928924 0.63906444 0.50077340 0.192186640
## Eco.Comfort 0.14227760 0.18156826 0.14227760 -0.425905328
## Economy 0.06059679 0.07733089 0.06059679 -1.000000000
## First.Class Business Eco.Comfort Economy
## Seat.Width..Club. 0.13921151 0.1921866 -0.42590533 -1.000000000
## Seat.Pitch..Club. 0.13921151 0.1921866 -0.42590533 -1.000000000
## Seat..Club. 0.13921151 0.1921866 -0.42590533 -1.000000000
## Seat.Width..First.Class. 0.96066651 -0.7319258 0.27139970 -0.120189617
## Seat.Pitch..First.Class. 0.88782293 -0.6537302 0.25587450 -0.142771421
## Seats..First.Class. 0.74765284 -0.5038815 0.16583154 -0.249277189
## Seat.Width..Business. -0.73150937 0.9519556 0.11991725 -0.205403882
## Seat.Pitch..Business. -0.73007262 0.9293224 0.14209869 -0.147212920
## Seats..Business. -0.74132742 0.8969617 0.19469457 -0.019545178
## Seat.Width..Eco.Comfort. 0.22081771 0.1642068 0.99729573 0.424753564
## Seat.Pitch..Eco.Comfort. 0.21484066 0.1709695 0.99895897 0.425461948
## Seats..Eco.Comfort. -0.39765852 0.6756765 0.68790289 0.292981507
## Seat.Width..Economy. -0.18914959 -0.1280367 0.43360268 0.986824851
## Seat.Pitch..Economy. -0.13540591 -0.1899391 0.43117396 0.995580910
## Seats..Economy. -0.31392640 0.4879236 0.57078222 0.335108702
## Accommodation -0.35369673 0.5954049 0.57451604 0.229942100
## Cruising.Speed..mph. 0.02916536 0.3244255 0.53706524 -0.006851511
## Range..miles. -0.62123720 0.8375289 0.35786190 0.050662801
## Engines -0.16705381 0.1921866 0.05460325 0.023255814
## Wingspan..ft. -0.47433819 0.7512867 0.47793716 0.073998183
## Tail.Height..ft. -0.39779692 0.7239521 0.53368282 0.050142509
## Length..ft. -0.43395083 0.7034112 0.53837068 0.149085694
## Wifi 0.86283905 -0.6275011 0.26614659 -0.132945171
## Video -0.34939516 0.6296296 0.30417096 -0.121006403
## Power -0.42723099 0.5975181 0.41072005 0.174927857
## Satellite 0.22973415 -0.1792892 0.14227760 0.060596787
## Flat.bed -0.55549206 0.6390644 0.18156826 0.077330889
## Sleeper -0.43528575 0.5007734 0.14227760 0.060596787
## Club 0.13921151 0.1921866 -0.42590533 -1.000000000
## First.Class 1.00000000 -0.7754868 0.24841377 -0.139211512
## Business -0.77548682 1.0000000 0.13704406 -0.192186640
## Eco.Comfort 0.24841377 0.1370441 1.00000000 0.425905328
## Economy -0.13921151 -0.1921866 0.42590533 1.000000000
On remarque que les colonnes Seat.Width..Club. | Seat.Pitch..Club. | Seat..Club. et Club sont parfaitement corélées positivement aussi Seat.Pitch..Economy. | Seat.Width..Economy. et Sleeper Seats..First.Class. et Seat.Width..First.Class. et First.Class sont corélées avec Seat.Width..First.Class. Seat.Width..First.Class. et Seat.Pitch..First.Class. sont aussi .
delta_1<-scale(delta_1)
boxplot(delta_1)
delta_1<-as.data.frame(delta_1)
plot(delta_1$Seat.Pitch..Economy.,delta_1$Seat.Width..Economy.)
delta_1
## Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 1 -0.1507557 -0.1507557 -0.1507557
## 2 6.4824939 6.4824939 6.4824939
## 3 -0.1507557 -0.1507557 -0.1507557
## 4 -0.1507557 -0.1507557 -0.1507557
## 5 -0.1507557 -0.1507557 -0.1507557
## 6 -0.1507557 -0.1507557 -0.1507557
## 7 -0.1507557 -0.1507557 -0.1507557
## 8 -0.1507557 -0.1507557 -0.1507557
## 9 -0.1507557 -0.1507557 -0.1507557
## 10 -0.1507557 -0.1507557 -0.1507557
## 11 -0.1507557 -0.1507557 -0.1507557
## 12 -0.1507557 -0.1507557 -0.1507557
## 13 -0.1507557 -0.1507557 -0.1507557
## 14 -0.1507557 -0.1507557 -0.1507557
## 15 -0.1507557 -0.1507557 -0.1507557
## 16 -0.1507557 -0.1507557 -0.1507557
## 17 -0.1507557 -0.1507557 -0.1507557
## 18 -0.1507557 -0.1507557 -0.1507557
## 19 -0.1507557 -0.1507557 -0.1507557
## 20 -0.1507557 -0.1507557 -0.1507557
## 21 -0.1507557 -0.1507557 -0.1507557
## 22 -0.1507557 -0.1507557 -0.1507557
## 23 -0.1507557 -0.1507557 -0.1507557
## 24 -0.1507557 -0.1507557 -0.1507557
## 25 -0.1507557 -0.1507557 -0.1507557
## 26 -0.1507557 -0.1507557 -0.1507557
## 27 -0.1507557 -0.1507557 -0.1507557
## 28 -0.1507557 -0.1507557 -0.1507557
## 29 -0.1507557 -0.1507557 -0.1507557
## 30 -0.1507557 -0.1507557 -0.1507557
## 31 -0.1507557 -0.1507557 -0.1507557
## 32 -0.1507557 -0.1507557 -0.1507557
## 33 -0.1507557 -0.1507557 -0.1507557
## 34 -0.1507557 -0.1507557 -0.1507557
## 35 -0.1507557 -0.1507557 -0.1507557
## 36 -0.1507557 -0.1507557 -0.1507557
## 37 -0.1507557 -0.1507557 -0.1507557
## 38 -0.1507557 -0.1507557 -0.1507557
## 39 -0.1507557 -0.1507557 -0.1507557
## 40 -0.1507557 -0.1507557 -0.1507557
## 41 -0.1507557 -0.1507557 -0.1507557
## 42 -0.1507557 -0.1507557 -0.1507557
## 43 -0.1507557 -0.1507557 -0.1507557
## 44 -0.1507557 -0.1507557 -0.1507557
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 1 0.9367000 0.7215191 0.1346615
## 2 0.7791285 0.9255149 1.6159379
## 3 0.9367000 0.7215191 0.1346615
## 4 0.9367000 0.7215191 0.1346615
## 5 -1.1314261 -1.1144428 -0.9762958
## 6 -1.1314261 -1.1144428 -0.9762958
## 7 -1.1314261 -1.1144428 -0.9762958
## 8 -1.1314261 -1.1144428 -0.9762958
## 9 0.7988249 0.7725180 0.1346615
## 10 0.9367000 0.7725180 0.1346615
## 11 0.9367000 0.7725180 0.5049806
## 12 0.9367000 0.8235170 0.5049806
## 13 0.9367000 0.7725180 0.8752997
## 14 -1.1314261 -1.1144428 -0.9762958
## 15 0.9367000 0.9255149 1.2456188
## 16 -1.1314261 -1.1144428 -0.9762958
## 17 0.9367000 0.7725180 1.0604592
## 18 0.9367000 0.7725180 1.0604592
## 19 0.9367000 0.7980175 1.2456188
## 20 0.9367000 1.1805096 1.0604592
## 21 -1.1314261 -1.1144428 -0.9762958
## 22 0.9367000 0.7725180 1.2456188
## 23 -1.1314261 -1.1144428 -0.9762958
## 24 -1.1314261 -1.1144428 -0.9762958
## 25 0.6904945 0.7980175 1.8010974
## 26 0.6904945 0.7980175 1.8010974
## 27 -1.1314261 -1.1144428 -0.9762958
## 28 0.6904945 1.9454937 2.3565760
## 29 -1.1314261 -1.1144428 -0.9762958
## 30 -1.1314261 -1.1144428 -0.9762958
## 31 -1.1314261 -1.1144428 -0.9762958
## 32 -1.1314261 -1.1144428 -0.9762958
## 33 -1.1314261 -1.1144428 -0.9762958
## 34 -1.1314261 -1.1144428 -0.9762958
## 35 -1.1314261 -1.1144428 -0.9762958
## 36 0.7988249 0.7215191 -0.1430778
## 37 0.7988249 0.7725180 0.1346615
## 38 -1.1314261 -1.1144428 -0.9762958
## 39 0.8382178 0.7725180 -0.1430778
## 40 0.8382178 0.7725180 0.1346615
## 41 -1.1314261 -1.1144428 -0.9762958
## 42 0.7988249 0.7725180 0.5049806
## 43 0.7988249 0.7725180 0.5049806
## 44 0.7988249 0.8235170 0.5049806
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 1 -0.7467361 -0.7289822 -0.7035977
## 2 1.3315294 0.9543069 0.1267015
## 3 -0.7467361 -0.7289822 -0.7035977
## 4 -0.7467361 -0.7289822 -0.7035977
## 5 1.3315294 0.9828372 1.1942290
## 6 1.3315294 1.5534436 1.3128432
## 7 1.3315294 1.5534436 1.3128432
## 8 1.2325644 0.9828372 1.3128432
## 9 -0.7467361 -0.7289822 -0.7035977
## 10 -0.7467361 -0.7289822 -0.7035977
## 11 -0.7467361 -0.7289822 -0.7035977
## 12 -0.7467361 -0.7289822 -0.7035977
## 13 -0.7467361 -0.7289822 -0.7035977
## 14 1.2820469 1.6105043 2.1431423
## 15 -0.7467361 -0.7289822 -0.7035977
## 16 1.3315294 0.8259204 0.2453157
## 17 -0.7467361 -0.7289822 -0.7035977
## 18 -0.7467361 -0.7289822 -0.7035977
## 19 -0.7467361 -0.7289822 -0.7035977
## 20 -0.7467361 -0.7289822 -0.7035977
## 21 1.3315294 0.3551701 0.8383865
## 22 -0.7467361 -0.7289822 -0.7035977
## 23 1.0841169 0.9828372 1.0756148
## 24 1.3315294 1.5234868 1.4314573
## 25 -0.7467361 -0.7289822 -0.7035977
## 26 -0.7467361 -0.7289822 -0.7035977
## 27 1.3315294 1.5234868 1.4314573
## 28 -0.7467361 -0.7289822 -0.7035977
## 29 1.3315294 1.5234868 0.8383865
## 30 1.3315294 1.5234868 0.8383865
## 31 1.3315294 1.5234868 1.6686857
## 32 1.3315294 1.4963830 1.9652211
## 33 1.3315294 1.4963830 1.9652211
## 34 -0.7467361 -0.7289822 -0.7035977
## 35 -0.7467361 -0.7289822 -0.7035977
## 36 -0.7467361 -0.7289822 -0.7035977
## 37 -0.7467361 -0.7289822 -0.7035977
## 38 -0.7467361 -0.7289822 -0.7035977
## 39 -0.7467361 -0.7289822 -0.7035977
## 40 -0.7467361 -0.7289822 -0.7035977
## 41 -0.7467361 -0.7289822 -0.7035977
## 42 -0.7467361 -0.7289822 -0.7035977
## 43 -0.7467361 -0.7289822 -0.7035977
## 44 -0.7467361 -0.7289822 -0.7035977
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 1 0.2718285 0.3085003 -0.264243594
## 2 -2.7534624 -2.7580545 -1.899250834
## 3 0.2718285 0.3085003 -0.264243594
## 4 0.2718285 0.3085003 -0.264243594
## 5 0.4125397 0.3986931 0.825761232
## 6 0.4125397 0.3986931 1.007428703
## 7 0.4125397 0.3986931 1.007428703
## 8 0.4125397 0.3986931 1.007428703
## 9 0.4301286 0.3085003 -0.536744801
## 10 0.2718285 0.3085003 -0.264243594
## 11 0.2718285 0.3085003 -0.264243594
## 12 0.2718285 0.3085003 -0.264243594
## 13 0.2718285 0.3085003 0.008257612
## 14 0.2718285 0.3986931 1.915766059
## 15 0.2718285 0.3986931 -0.264243594
## 16 0.2718285 0.3986931 0.371592555
## 17 0.2718285 0.3535967 -0.264243594
## 18 0.2718285 0.3085003 -0.173409859
## 19 0.2718285 0.3535967 -0.082576123
## 20 0.2718285 0.3535967 0.008257612
## 21 0.2718285 0.3085003 0.462426290
## 22 0.2718285 0.3085003 0.189925083
## 23 0.3949508 0.3986931 1.552431117
## 24 0.3949508 0.3986931 1.007428703
## 25 0.3949508 0.3085003 0.644093761
## 26 0.3949508 0.3085003 0.644093761
## 27 0.3949508 0.3986931 0.734927497
## 28 0.3949508 0.3986931 0.916594968
## 29 0.3949508 0.3986931 1.279929910
## 30 0.3949508 0.3986931 0.734927497
## 31 0.3949508 0.3986931 0.644093761
## 32 0.5004842 0.4888859 1.370763646
## 33 0.5004842 0.3986931 1.370763646
## 34 -2.7534624 -2.7580545 -1.899250834
## 35 -2.7534624 -2.7580545 -1.899250834
## 36 0.2894174 0.3085003 -1.172580950
## 37 0.2894174 0.3085003 -0.809246008
## 38 -2.7534624 -2.7580545 -1.899250834
## 39 0.4565119 0.3085003 -0.809246008
## 40 0.4565119 0.3085003 -0.809246008
## 41 -2.7534624 -2.7580545 -1.899250834
## 42 0.4301286 0.3085003 -0.536744801
## 43 0.4301286 0.3085003 -0.536744801
## 44 0.4301286 0.3986931 -0.627578537
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 1 -0.01770178 0.01929401 -0.563932641 -0.58491830
## 2 -6.39708609 -6.45384719 -2.172340120 -1.49059826
## 3 -0.01770178 0.23152815 -0.161830771 -0.28302499
## 4 -0.01770178 0.23152815 -0.161830771 -0.28302499
## 5 0.27901377 0.01929401 0.860178148 0.88681162
## 6 0.27901377 0.01929401 0.642372968 0.88681162
## 7 0.27901377 0.01929401 1.630873398 1.51575604
## 8 0.27901377 0.01929401 1.714644621 1.57865048
## 9 0.31610321 0.12541108 -0.781737821 -0.78618052
## 10 -0.01770178 0.01929401 -0.597441130 -0.61007608
## 11 -0.01770178 0.01929401 -0.061305304 -0.61007608
## 12 -0.01770178 0.01929401 -0.061305304 -0.15723610
## 13 -0.01770178 0.01929401 0.156499875 0.09434166
## 14 -0.01770178 0.01929401 2.619373828 2.55980376
## 15 -0.01770178 0.12541108 0.039220163 0.01886833
## 16 -0.01770178 0.01929401 0.005711674 -0.01886833
## 17 -0.01770178 0.12541108 0.190008365 0.10692055
## 18 -0.01770178 0.23152815 0.190008365 0.11949944
## 19 -0.01770178 0.23152815 0.106237142 0.09434166
## 20 -0.01770178 0.33764522 0.039220163 0.03144722
## 21 -0.01770178 0.23152815 0.039220163 0.14465722
## 22 -0.01770178 0.12541108 0.793161169 0.64781275
## 23 0.24192433 0.23152815 0.173254120 0.44655053
## 24 0.24192433 0.23152815 0.223516854 0.48428720
## 25 0.24192433 0.23152815 1.228771528 1.11323161
## 26 0.24192433 0.23152815 1.228771528 1.11323161
## 27 0.24192433 0.23152815 0.223516854 0.44655053
## 28 0.24192433 0.23152815 0.223516854 0.47170831
## 29 0.24192433 0.23152815 0.692635702 0.67297052
## 30 0.24192433 0.23152815 0.692635702 0.67297052
## 31 0.24192433 0.23152815 0.809915414 0.92454829
## 32 0.46446099 0.23152815 0.977457860 1.21386272
## 33 0.46446099 0.23152815 0.977457860 1.21386272
## 34 0.01938766 0.12541108 -1.334627892 -1.54091381
## 35 0.01938766 0.12541108 -1.334627892 -1.54091381
## 36 0.01938766 0.12541108 -1.368136381 -1.35223049
## 37 0.01938766 0.12541108 -1.301119403 -1.21386272
## 38 0.35319266 0.12541108 -1.703221272 -1.81764936
## 39 0.37173738 0.12541108 -1.368136381 -1.30191494
## 40 0.37173738 0.12541108 -1.301119403 -1.21386272
## 41 0.01938766 0.12541108 -1.334627892 -1.54091381
## 42 0.31610321 0.33764522 -0.195339261 -0.29560387
## 43 0.31610321 0.23152815 -0.011042570 -0.15723610
## 44 0.31610321 0.12541108 -0.664458109 -0.66039163
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 1 0.04441488 -0.64377263 -0.1507557 -0.47969277
## 2 0.04441488 -0.32842130 -0.1507557 -0.47969277
## 3 0.04441488 -0.63457489 -0.1507557 -0.47969277
## 4 0.04441488 -0.63457489 -0.1507557 -0.47969277
## 5 0.55107345 1.16818359 -0.1507557 1.55502951
## 6 0.55107345 1.16818359 -0.1507557 1.55502951
## 7 0.55107345 0.64566395 -0.1507557 1.55502951
## 8 0.55107345 0.64566395 -0.1507557 1.55502951
## 9 -0.42605380 -1.03314394 -0.1507557 -0.91739465
## 10 0.04441488 -0.41339096 -0.1507557 -0.34753046
## 11 0.04441488 -0.41339096 -0.1507557 -0.34753046
## 12 0.04441488 -0.44624006 -0.1507557 -0.34753046
## 13 0.04441488 -0.43748030 -0.1507557 -0.34753046
## 14 1.74534009 1.53127562 6.4824939 1.91394506
## 15 0.04441488 0.20811396 -0.1507557 0.06258438
## 16 0.04441488 0.36622762 -0.1507557 0.06258438
## 17 0.04441488 -0.44448811 -0.1507557 0.06258438
## 18 0.04441488 -0.44448811 -0.1507557 0.06258438
## 19 0.04441488 -0.20841259 -0.1507557 -0.47969277
## 20 0.04441488 -0.04591906 -0.1507557 0.06258438
## 21 0.04441488 -0.04591906 -0.1507557 0.06258438
## 22 0.04441488 -0.28068061 -0.1507557 -0.17211847
## 23 0.04441488 1.11212113 -0.1507557 0.56731380
## 24 0.04441488 1.11212113 -0.1507557 0.56731380
## 25 0.04441488 -0.15497806 -0.1507557 0.56731380
## 26 0.04441488 -0.15497806 -0.1507557 0.56731380
## 27 0.04441488 1.21373434 -0.1507557 0.56731380
## 28 0.04441488 1.11212113 -0.1507557 0.56731380
## 29 0.04441488 1.03021738 -0.1507557 0.56731380
## 30 0.04441488 1.03021738 -0.1507557 0.56731380
## 31 0.04441488 1.08058600 -0.1507557 0.92024348
## 32 1.23868152 2.04678746 -0.1507557 1.90407902
## 33 1.23868152 2.84961940 -0.1507557 1.90407902
## 34 -1.00509217 -1.14045099 -0.1507557 -1.47923826
## 35 -1.00509217 -1.14045099 -0.1507557 -1.47923826
## 36 -0.02796492 -0.97182562 -0.1507557 -1.32149996
## 37 -0.02796492 -0.93065475 -0.1507557 -1.19532352
## 38 -5.49263956 -1.29155684 -0.1507557 -1.58965743
## 39 1.05773203 -0.90612743 -0.1507557 -1.10463642
## 40 1.05773203 -0.90612743 -0.1507557 -1.10463642
## 41 0.04441488 -1.03927577 -0.1507557 -1.56992536
## 42 -0.64319319 -1.03314394 -0.1507557 -0.57433101
## 43 -0.64319319 -0.82203374 -0.1507557 -0.57433101
## 44 -0.42605380 -1.37433657 -0.1507557 -0.90556487
## Tail.Height..ft. Length..ft. Wifi Video Power
## 1 -0.3250485 -0.96644710 0.8618163 -1.2458487 -1.1339688
## 2 -0.3250485 -0.96644710 0.8618163 0.7844233 -1.1339688
## 3 -0.3250485 -0.66243590 0.8618163 -1.2458487 -1.1339688
## 4 -0.3250485 -0.66243590 0.8618163 -1.2458487 -1.1339688
## 5 1.4053958 0.96110801 -1.1339688 0.7844233 0.8618163
## 6 1.4053958 0.96110801 -1.1339688 0.7844233 0.8618163
## 7 1.1203412 1.46142359 -1.1339688 0.7844233 0.8618163
## 8 1.1203412 1.46142359 -1.1339688 0.7844233 0.8618163
## 9 -1.0987681 -0.74309193 0.8618163 -1.2458487 0.8618163
## 10 -0.1145968 -0.98307466 0.8618163 0.7844233 0.8618163
## 11 -0.1145968 -0.98307466 0.8618163 0.7844233 0.8618163
## 12 -0.1145968 -0.50732814 0.8618163 0.7844233 0.8618163
## 13 -0.1145968 -0.29223711 0.8618163 0.7844233 0.8618163
## 14 1.6262399 2.03222014 -1.1339688 0.7844233 0.8618163
## 15 0.1568567 0.13171582 -1.1339688 0.7844233 -1.1339688
## 16 0.1568567 0.13171582 0.8618163 0.7844233 0.8618163
## 17 0.1568567 0.13171582 0.8618163 -1.2458487 -1.1339688
## 18 0.1568567 0.13171582 0.8618163 -1.2458487 -1.1339688
## 19 -0.3250485 -0.66243590 0.8618163 0.7844233 -1.1339688
## 20 0.1568567 0.13171582 0.8618163 0.7844233 -1.1339688
## 21 0.1568567 0.13171582 0.8618163 0.7844233 0.8618163
## 22 0.2043386 0.68181478 0.8618163 0.7844233 -1.1339688
## 23 0.7676880 0.75214684 -1.1339688 0.7844233 0.8618163
## 24 0.7676880 0.75214684 -1.1339688 0.7844233 0.8618163
## 25 0.7676880 0.75214684 0.8618163 0.7844233 0.8618163
## 26 0.7676880 0.75214684 0.8618163 0.7844233 0.8618163
## 27 0.7676880 0.75214684 -1.1339688 0.7844233 0.8618163
## 28 0.7676880 0.75214684 -1.1339688 0.7844233 0.8618163
## 29 0.7676880 0.75214684 -1.1339688 0.7844233 0.8618163
## 30 0.7676880 0.75214684 -1.1339688 0.7844233 0.8618163
## 31 1.0052606 1.27529429 -1.1339688 0.7844233 0.8618163
## 32 1.5275621 1.46770236 -1.1339688 0.7844233 0.8618163
## 33 1.5275621 1.46770236 -1.1339688 0.7844233 0.8618163
## 34 -1.8046448 -1.54146258 -1.1339688 -1.2458487 -1.1339688
## 35 -1.8046448 -1.54146258 -1.1339688 -1.2458487 -1.1339688
## 36 -1.4451502 -1.08847348 0.8618163 -1.2458487 -1.1339688
## 37 -1.4652669 -0.76999382 0.8618163 -1.2458487 -1.1339688
## 38 -1.7709269 -2.09357174 -1.1339688 -1.2458487 -1.1339688
## 39 -0.8343189 -1.28701141 0.8618163 -1.2458487 -1.1339688
## 40 -0.8680368 -1.14225244 0.8618163 -1.2458487 -1.1339688
## 41 -1.6620360 -1.28907124 -1.1339688 -1.2458487 -1.1339688
## 42 -0.9833618 -0.05242811 0.8618163 -1.2458487 0.8618163
## 43 -0.9766019 0.06552823 0.8618163 -1.2458487 0.8618163
## 44 -1.2276943 -0.40805918 0.8618163 -1.2458487 -1.1339688
## Satellite Flat.bed Sleeper Club First.Class Business
## 1 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 2 -0.3928183 -0.501297 -0.3928183 6.4824939 0.9024378 1.2458487
## 3 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 4 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 5 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 6 -0.3928183 -0.501297 2.4878493 -0.1507557 -1.0829253 1.2458487
## 7 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 8 -0.3928183 -0.501297 2.4878493 -0.1507557 -1.0829253 1.2458487
## 9 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 10 2.4878493 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 11 2.4878493 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 12 2.4878493 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 13 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 14 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 15 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 16 -0.3928183 -0.501297 2.4878493 -0.1507557 -1.0829253 1.2458487
## 17 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 18 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 19 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 20 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 21 2.4878493 -0.501297 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 22 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 23 -0.3928183 -0.501297 2.4878493 -0.1507557 -1.0829253 1.2458487
## 24 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 25 2.4878493 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 26 2.4878493 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 27 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 28 -0.3928183 -0.501297 2.4878493 -0.1507557 -1.0829253 1.2458487
## 29 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 30 -0.3928183 -0.501297 2.4878493 -0.1507557 -1.0829253 1.2458487
## 31 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 32 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 33 -0.3928183 1.949488 -0.3928183 -0.1507557 -1.0829253 1.2458487
## 34 -0.3928183 -0.501297 -0.3928183 -0.1507557 -1.0829253 -0.7844233
## 35 -0.3928183 -0.501297 -0.3928183 -0.1507557 -1.0829253 -0.7844233
## 36 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 37 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 38 -0.3928183 -0.501297 -0.3928183 -0.1507557 -1.0829253 -0.7844233
## 39 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 40 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 41 -0.3928183 -0.501297 -0.3928183 -0.1507557 -1.0829253 -0.7844233
## 42 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 43 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## 44 -0.3928183 -0.501297 -0.3928183 -0.1507557 0.9024378 -0.7844233
## Eco.Comfort Economy
## 1 0.3539652 0.1507557
## 2 -2.7609287 -6.4824939
## 3 0.3539652 0.1507557
## 4 0.3539652 0.1507557
## 5 0.3539652 0.1507557
## 6 0.3539652 0.1507557
## 7 0.3539652 0.1507557
## 8 0.3539652 0.1507557
## 9 0.3539652 0.1507557
## 10 0.3539652 0.1507557
## 11 0.3539652 0.1507557
## 12 0.3539652 0.1507557
## 13 0.3539652 0.1507557
## 14 0.3539652 0.1507557
## 15 0.3539652 0.1507557
## 16 0.3539652 0.1507557
## 17 0.3539652 0.1507557
## 18 0.3539652 0.1507557
## 19 0.3539652 0.1507557
## 20 0.3539652 0.1507557
## 21 0.3539652 0.1507557
## 22 0.3539652 0.1507557
## 23 0.3539652 0.1507557
## 24 0.3539652 0.1507557
## 25 0.3539652 0.1507557
## 26 0.3539652 0.1507557
## 27 0.3539652 0.1507557
## 28 0.3539652 0.1507557
## 29 0.3539652 0.1507557
## 30 0.3539652 0.1507557
## 31 0.3539652 0.1507557
## 32 0.3539652 0.1507557
## 33 0.3539652 0.1507557
## 34 -2.7609287 0.1507557
## 35 -2.7609287 0.1507557
## 36 0.3539652 0.1507557
## 37 0.3539652 0.1507557
## 38 -2.7609287 0.1507557
## 39 0.3539652 0.1507557
## 40 0.3539652 0.1507557
## 41 -2.7609287 0.1507557
## 42 0.3539652 0.1507557
## 43 0.3539652 0.1507557
## 44 0.3539652 0.1507557
library(ggplot2)
ggplot(delta, aes(delta_1$Seat.Pitch..Economy,delta_1$Seat.Width..Economy)) + geom_point() + scale_x_continuous("Seat.Pitch", breaks = seq(0,18.5))+ scale_y_continuous("Seat.Width", breaks = seq(0,by = 32))+ theme_bw()
range(delta_1$Seat.Pitch..Economy)
## [1] -6.4538472 0.3376452
range(delta_1$Seat.Width..Economy)
## [1] -6.397086 0.464461
Pour la classe economique plus le Seat width est important plus le seat pitch est important aussi ce sont deux variables fortement corélées.
boxplot(delta_1[,],col=c("#75FF33","#DBFF33","#FF5733"))
Ce graphe nous permet de visualizer la répartition des caractéristiques des avions dans notre data set.
delta_2<-delta
ggplot(delta_2, aes(delta_2$Length..ft., fill = delta_2$Range..miles)) + geom_bar()+
labs(title = "Range by aircraft", x = "Aircraft length", y = "Count ")
dataSeg<-data
dataSeg$Aircraft<-NULL
dataSeg<- scale(dataSeg)
wss <- (nrow(dataSeg)-1)*sum(apply(dataSeg,2,var))
for (i in 2:15) wss[i] <- sum(kmeans(dataSeg,centers=i)$withinss)
plot(1:15, wss, type="b", xlab="Number of Clusters", ylab="Within groups sum of squares")
Cette Méthode nous permet de préciser le nombre optimale des clusters ainsi dans notre cas c’est 2 là ou il y a une différence dans la courbe. On utilise cette résultat et on applique K-means cluestering :
dataSeg_1 <- kmeans(dataSeg, 2)
aggregate(dataSeg,by=list(dataSeg_1$cluster),FUN=mean)
## Group.1 Seat.Width..Club. Seat.Pitch..Club. Seat..Club.
## 1 1 0.07797707 0.07797707 0.07797707
## 2 2 -0.15075567 -0.15075567 -0.15075567
## Seat.Width..First.Class. Seat.Pitch..First.Class. Seats..First.Class.
## 1 0.5852204 0.5764359 0.5049806
## 2 -1.1314261 -1.1144428 -0.9762958
## Seat.Width..Business. Seat.Pitch..Business. Seats..Business.
## 1 -0.6750718 -0.6709377 -0.6749667
## 2 1.3051387 1.2971462 1.3049355
## Seat.Width..Eco.Comfort. Seat.Pitch..Eco.Comfort. Seats..Eco.Comfort.
## 1 -0.2012523 -0.2062206 -0.5273482
## 2 0.3890878 0.3986931 1.0195399
## Seat.Width..Economy. Seat.Pitch..Economy. Seats..Economy. Accommodation
## 1 -0.1187385 -0.07584543 -0.4235436 -0.4699733
## 2 0.2295612 0.14663450 0.8188510 0.9086150
## Cruising.Speed..mph. Range..miles. Engines Wingspan..ft.
## 1 -0.2338730 -0.5846443 -0.1507557 -0.5456622
## 2 0.4521544 1.1303122 0.2914610 1.0549468
## Tail.Height..ft. Length..ft. Wifi Video Power Satellite
## 1 -0.5134570 -0.5211086 0.4488952 -0.4057362 -0.4457670 0.1038485
## 2 0.9926835 1.0074765 -0.8678641 0.7844233 0.8618163 -0.2007738
## Flat.bed Sleeper Club First.Class Business Eco.Comfort
## 1 -0.5012970 -0.2934849 0.07797707 0.5601338 -0.6444045 -0.1830855
## 2 0.9691742 0.5674042 -0.15075567 -1.0829253 1.2458487 0.3539652
## Economy
## 1 -0.07797707
## 2 0.15075567
dataSeg <- data.frame(dataSeg, dataSeg_1$cluster)
library(cluster)
clusplot(dataSeg, dataSeg_1$cluster, color=TRUE, shade=TRUE,labels=2, lines=0)
Cette segmentation décrit notre data ser avec un pourcentage de 66.61 des points représentatifs.
library(mclust)
## Package 'mclust' version 5.4.1
## Type 'citation("mclust")' for citing this R package in publications.
data_mc<-data
data_mc$Aircraft<-NULL
data_mc <- Mclust(data)
#plot(data_mc)
summary(data_mc)
## ----------------------------------------------------
## Gaussian finite mixture model fitted by EM algorithm
## ----------------------------------------------------
##
## Mclust XXX (ellipsoidal multivariate normal) model with 1 component:
##
## log.likelihood n df BIC ICL
## 5729.813 44 629 9079.371 9079.371
##
## Clustering table:
## 1
## 44
de meme pour cette méthode qui nous renvois les clusters selon le Model based Clustering on a eu 2 clusters. #CAH
data_h<-data
data_h$Aircraft<-NULL
data_h1 <- dist(data_h, method = "euclidean")
data_h2 <- hclust(data_h1, method="complete")
plot(data_h2)
Cette Méthode nous donne la main à choisir le clustering qui nous convient et d’aprés ce graphe on peut déduire que la meilleure solution est de choisir deux clusters qui sont claires à identifier.
et en fin, aprés les manipulations qu’on a effectué on peut affirmer que notre data set se divise parfaitement en deux clusters qu’on va définir ses caractéristique dans la partie suivantes.
library(lattice)
ds <- data
ds[1:23]<-NULL
parallelplot(~ds, group = res.hcpc$data.clust$clust, data = ds, horizontal.axis = FALSE,
auto.key = TRUE)
D’aprés le graph qu’on a obtenu on peut spécifier chacun des deux clusters : le premier cluster des avions contient Wifi, Video, power,satellite, club et ils sont classés comme first class ,Business Eco et comfort Economy. Concernant le deuxiéme cluster on a Video,Power,Flat bed,sleeper,et sont classés comme Business eco et EcoComfort. ce qui montre que l’ensemble des avions de la Tunisair manque la divérsité des services qui doivent etre bien répartis sur tout l’ensemble d’avions. Ce qui prouve le besion d’améliorer et travailler plus sur ce cote ainsi on peut en baser pour des futurs achat d’avions ou amélioration du services.
library(arules)
## Loading required package: Matrix
##
## Attaching package: 'arules'
## The following objects are masked from 'package:base':
##
## abbreviate, write
dataT<-data
dataT[1:23]<-NULL
dataT<-as.matrix.data.frame(dataT)
dataT<-as(dataT,"transactions")
data_1<-apriori(dataT,parameter = new("APparameter",support=0.1,confidence=0.5))
## Apriori
##
## Parameter specification:
## confidence minval smax arem aval originalSupport maxtime support minlen
## 0.5 0.1 1 none FALSE TRUE 5 0.1 1
## maxlen target ext
## 10 rules FALSE
##
## Algorithmic control:
## filter tree heap memopt load sort verbose
## 0.1 TRUE TRUE FALSE TRUE 2 TRUE
##
## Absolute minimum support count: 4
##
## set item appearances ...[0 item(s)] done [0.00s].
## set transactions ...[11 item(s), 44 transaction(s)] done [0.00s].
## sorting and recoding items ... [10 item(s)] done [0.00s].
## creating transaction tree ... done [0.00s].
## checking subsets of size 1 2 3 4 5 6 7 done [0.00s].
## writing ... [591 rule(s)] done [0.00s].
## creating S4 object ... done [0.00s].
data_2<-sort(data_1,decreasing = T,by="lift")
data_3<-inspect(head(data_2,n=50))
## lhs rhs support confidence lift count
## [1] {Video,
## Power,
## First.Class} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [2] {Wifi,
## Video,
## Power,
## First.Class} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [3] {Video,
## Power,
## First.Class,
## Eco.Comfort} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [4] {Video,
## Power,
## First.Class,
## Economy} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [5] {Wifi,
## Video,
## Power,
## First.Class,
## Eco.Comfort} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [6] {Wifi,
## Video,
## Power,
## First.Class,
## Economy} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [7] {Video,
## Power,
## First.Class,
## Eco.Comfort,
## Economy} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [8] {Wifi,
## Video,
## Power,
## First.Class,
## Eco.Comfort,
## Economy} => {Satellite} 0.1136364 0.8333333 6.111111 5
## [9] {Wifi,
## Video,
## Power} => {Satellite} 0.1363636 0.7500000 5.500000 6
## [10] {Wifi,
## Video,
## Power,
## Eco.Comfort} => {Satellite} 0.1363636 0.7500000 5.500000 6
## [11] {Wifi,
## Video,
## Power,
## Economy} => {Satellite} 0.1363636 0.7500000 5.500000 6
## [12] {Wifi,
## Video,
## Power,
## Eco.Comfort,
## Economy} => {Satellite} 0.1363636 0.7500000 5.500000 6
## [13] {Power,
## First.Class} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [14] {Wifi,
## Power,
## First.Class} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [15] {Power,
## First.Class,
## Eco.Comfort} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [16] {Power,
## First.Class,
## Economy} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [17] {Wifi,
## Power,
## First.Class,
## Eco.Comfort} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [18] {Wifi,
## Power,
## First.Class,
## Economy} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [19] {Wifi,
## Video,
## First.Class,
## Eco.Comfort} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [20] {Wifi,
## Video,
## First.Class,
## Economy} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [21] {Power,
## First.Class,
## Eco.Comfort,
## Economy} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [22] {Wifi,
## Power,
## First.Class,
## Eco.Comfort,
## Economy} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [23] {Wifi,
## Video,
## First.Class,
## Eco.Comfort,
## Economy} => {Satellite} 0.1136364 0.5555556 4.074074 5
## [24] {Wifi,
## Power} => {Satellite} 0.1363636 0.5454545 4.000000 6
## [25] {Wifi,
## Power,
## Eco.Comfort} => {Satellite} 0.1363636 0.5454545 4.000000 6
## [26] {Wifi,
## Power,
## Economy} => {Satellite} 0.1363636 0.5454545 4.000000 6
## [27] {Wifi,
## Video,
## Eco.Comfort} => {Satellite} 0.1363636 0.5454545 4.000000 6
## [28] {Wifi,
## Video,
## Economy} => {Satellite} 0.1363636 0.5454545 4.000000 6
## [29] {Wifi,
## Power,
## Eco.Comfort,
## Economy} => {Satellite} 0.1363636 0.5454545 4.000000 6
## [30] {Wifi,
## Video,
## Eco.Comfort,
## Economy} => {Satellite} 0.1363636 0.5454545 4.000000 6
## [31] {Wifi,
## Video} => {Satellite} 0.1363636 0.5000000 3.666667 6
## [32] {Wifi,
## Video,
## First.Class} => {Satellite} 0.1136364 0.5000000 3.666667 5
## [33] {Video,
## First.Class,
## Eco.Comfort} => {Satellite} 0.1136364 0.5000000 3.666667 5
## [34] {Video,
## First.Class,
## Economy} => {Satellite} 0.1136364 0.5000000 3.666667 5
## [35] {Video,
## First.Class,
## Eco.Comfort,
## Economy} => {Satellite} 0.1136364 0.5000000 3.666667 5
## [36] {Power,
## Business} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [37] {Business,
## Eco.Comfort} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [38] {Business,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [39] {Video,
## Power,
## Business} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [40] {Power,
## Business,
## Eco.Comfort} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [41] {Power,
## Business,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [42] {Video,
## Business,
## Eco.Comfort} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [43] {Video,
## Business,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [44] {Business,
## Eco.Comfort,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [45] {Video,
## Power,
## Business,
## Eco.Comfort} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [46] {Video,
## Power,
## Business,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [47] {Power,
## Business,
## Eco.Comfort,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [48] {Video,
## Business,
## Eco.Comfort,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [49] {Video,
## Power,
## Business,
## Eco.Comfort,
## Economy} => {Flat.bed} 0.2045455 0.5625000 2.750000 9
## [50] {Sleeper} => {Business} 0.1363636 1.0000000 2.588235 6
library(arulesViz)
## Loading required package: grid
plot(data_2,engine = "plotly")
## To reduce overplotting, jitter is added! Use jitter = 0 to prevent jitter.